Wrapper for Gismeteo API
Project description
pygismeteo
Обёртка для Gismeteo API.
Асинхронная версия здесь.
Установка
python -m pip install -U pygismeteo
Документация
Пример, выводящий температуру в Москве сейчас
from pygismeteo import Gismeteo
gismeteo = Gismeteo()
search_results = gismeteo.search.by_query("Москва")
city_id = search_results[0].id
current = gismeteo.current.by_id(city_id)
print(current.temperature.air.c)
License / Лицензия
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-5.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e6041726c31f5b30c88e7c46f8cc9870e2ef40d498bd5ec8ca68b778cd131f |
|
MD5 | ee0fe49d27fb42913c5de87c1291512b |
|
BLAKE2b-256 | 50ed02e4ae4bd6287453add9e25629016fbb47e5aef79a44a2901c47ad98a0a9 |