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.3.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-5.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb1ac5f80bee0debc040d481c3c33f08c059e1deccd19e82fa401131dc451f29 |
|
MD5 | 5a62733515754a46c1bd4ad4eb2115b7 |
|
BLAKE2b-256 | c5e3d1e965329ffcea8cf576bc0fa29799df6c9bc1abdb9e619da0a94f9830f6 |