matroskin / yandex-weather
Yandex Weather API
dev-master
2020-03-12 13:24 UTC
Requires
- php: ^7.2.5
- ixudra/curl: 6.*
- laravel/framework: ^5.6
This package is auto-updated.
Last update: 2024-04-12 22:22:39 UTC
README
Here are a few short examples of what you can do:
use Matroskin\YandexWeather\YandexWeather; // get weather "now" $fact = YandexWeather::fact(55.75, 37.61); $fact = YandexWeather::tariff(1)->fact(55.75, 37.61); // or get forecast $forecast = YandexWeather::tariff(1)->locale('ru_RU')->forecast(55.75, 37.61);
Installation
You can install this package via composer using this command:
composer require "matroskin/yandex-weather"
The package will automatically register itself.