elytica/weatherbit

0.0.0 2020-01-07 15:41 UTC

This package is auto-updated.

Last update: 2024-09-20 00:41:17 UTC


README

功能

此包仅支持使用经纬度进行每小时预报。

安装

composer install elytica/weatherbit

用法

use elytica;
$settings = ['key' => 'API_KEY',
             'hours' => 48];
$weather = new elytica\WeatherBit($settings);
print_r($weather->forecast_hourly(0.0, 0.0)->data);