Skip to main content

Yandex Weather API python module

Project description

# yandex_weather_api

Библиотека для доступа к API Яндекс Погоды. Для работы с необходим ключ [отсюда](https://developer.tech.yandex.ru/keys). Библиотека очень тонко обрамляет JSON-ответ сервера Yandex для [одного](https://tech.yandex.ru/weather/doc/dg/concepts/forecast-response-info-docpage/) и [другого](https://tech.yandex.ru/weather/doc/dg/concepts/forecast-response-test-docpage/) тарифов.

Для запроса данных воспользуйтесь функциями get и async_get. Оба варианта принимают в качестве первого аргумента объект сессии из библиотек requests и aiohttp для выполнения синхронных или асинхронных запросов соотвественно.

Погоду можно получать из командной строки, воспользовавшись утилитой yandex_weather_api. Запустите её с аргументом –help, чтобы получить информацию о том, какие подкомманды она подерживает.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yandex_weather_api-0.2.4.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

yandex_weather_api-0.2.4-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page