Skip to main content

# 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, чтобы получить информацию о том, какие подкомманды она подерживает.

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.2.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yandex_weather_api-0.2.2-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file yandex_weather_api-0.2.2.tar.gz.

File metadata

  • Download URL: yandex_weather_api-0.2.2.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for yandex_weather_api-0.2.2.tar.gz
Algorithm Hash digest
SHA256 01e5956e633139ce461ff620425181cea4fb51eed5c53444cc27f4d50dd1330a
MD5 aa0bc46824bda6131aaecfb3be934a68
BLAKE2b-256 2f5639da70e6da5ba0a50ce2ccda91e7485f075ab5db22382a224a831b0d48ee

See more details on using hashes here.

File details

Details for the file yandex_weather_api-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: yandex_weather_api-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for yandex_weather_api-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ac5caffad1f6eb47ca22b679621e23830902d4ae8b646793eb89c00250ac88e5
MD5 3f84ce46799bbaa8318ba733f3518f4f
BLAKE2b-256 a51e155efcf2a8d1cbb1d2576e674765daf446784d5513f1cb6250e9c7b1dfbe

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.4

2 files

0.2.3

2 files

This release

0.2.2 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page