Skip to main content

Wrapper for Gismeteo API

Project description

pygismeteo

Build Status codecov

Обёртка для Gismeteo API.

Асинхронная версия здесь.

Установка

python -m pip install -U pygismeteo

Документация

pygismeteo.readthedocs.io

Пример, выводящий температуру в Москве сейчас

from pygismeteo import Gismeteo

gm = Gismeteo()
search_results = gm.search.by_query("Москва")
city_id = search_results[0].id
current = gm.current.by_id(city_id)
print(current.temperature.air.c)

License / Лицензия

MIT

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

pygismeteo-5.0.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

pygismeteo-5.0.0-py3-none-any.whl (6.9 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