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.6.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-5.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 649e8f8c16132932c7e00d27cff9cb863f18778676f8c4b982bdbe333e4dd895 |
|
MD5 | 3b1330850126c2f3f08fb28f41026dca |
|
BLAKE2b-256 | 8ff830e1ba4f4e76a57a8bfdd6d815d603279aca281c319df7c624159fee39fb |