Download the PHP package iidestiny/weather without Composer
On this page you can find all versions of the php package iidestiny/weather. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package weather
weather
天气查询组件
安装
配置
百度开放平台后台获取 AK
使用
参数说明
- $location 地点,中文或者坐标地址,多个用斗角逗号隔开
- $format 返回格式, json(默认)/xml, json 将会返回数组格式,xml 返回字符串格式。
- $coordType 坐标格式,允许的值为bd09ll、bd09mc、gcj02、wgs84,默认为 gcj02 经纬度坐标。
- 详情说明请参考官方:http://lbsyun.baidu.com/index.php?title=car/api/weather
Laravel 中使用
在 .env
配置文件中添加配置 (BAIDU_SN) 可选
然后方法注入
License
MIT
All versions of weather with dependencies
PHP Build Version
Package Version
The package iidestiny/weather contains the following files
Loading the files please wait ....