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 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.4-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yandex_weather_api-0.2.4.tar.gz
  • Upload date:
  • Size: 9.4 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.4.tar.gz
Algorithm Hash digest
SHA256 c389e19194518c68e6ae7ec99fa70d6537636b5f17e157003da6782507e60b70
MD5 ec014ceec19be0d7939130effa111fc6
BLAKE2b-256 6e4cecfa62657dbdaa9970b20224d4dfa85588463d942eecc7ad2603697c77f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yandex_weather_api-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 10.8 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 480c20d2d53ab56d997638b1b4b5ad0f380fd9a516ef1cd31a6a8d0e5f0ceae5
MD5 918634544eee37da89231174da48acf0
BLAKE2b-256 124108bcbe993ba53b754a49fb32dedbdce3fa87a386b32346432a0b818defe2

See more details on using hashes here.

Supported by

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