【文件属性】:
文件名称:forecast-php:用于Forecast.ioPHP API包装器
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-18 09:37:47
PHP
预测PHP
用于 PHP客户端软件包。
想要在Laravel应用程序中使用它吗? 查看软件包。
安装
通过作曲家
$ composer require nwidart/forecast-php
用法
$ forecast = new \ Nwidart \ ForecastPhp \ Forecast ( 'your_api_key' );
// Simple latitude and longitude
$ info = $ forecast -> get ( '40.7324296' , '-73.9977264' );
// Fetch weather at a given time
$ info = $ forecastPhp -> get ( '40.7324296' , '-73.9977264' , '2013-05-06T12:00:00-0400' );
// Ad
【文件预览】:
forecast-php-master
----src()
--------Forecast.php(2KB)
----.php_cs(436B)
----CONTRIBUTING.md(1KB)
----LICENSE.md(1KB)
----README.md(3KB)
----composer.json(944B)