matroskin / yandex-weather
Yandex Weather API
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
pkg:composer/matroskin/yandex-weather
Requires
- php: ^7.2.5
- ixudra/curl: 6.*
- laravel/framework: ^5.6
This package is auto-updated.
Last update: 2024-12-12 23:56:49 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.