tave / forecast-io-php
Forecast IO API 的 PHP 封装
该软件包的官方仓库似乎已不存在,因此该软件包已被冻结。
1.5.0
2017-04-17 01:49 UTC
Requires
- php: >=5.5
- guzzlehttp/guzzle: ~6.0
This package is not auto-updated.
Last update: 2024-01-18 06:49:06 UTC
README
Forecast IO APIv2 封装实现: http://forecast.io/
Composer 安装
{ "require" : { "tave/forecast-io-php": "~1.3" } }
使用方法
$WeatherService = new \Forecast\Service('<api-key>'); var_dump($WeatherService->fetch(25.79036, -80.13623));
有关响应的详细信息,请参阅 API 文档