Wrapper for Gismeteo.ru API
Project description
pygismeteo
Обёртка для Gismeteo.ru API.
Асинхронная версия здесь.
Установка
python -m pip install -U pygismeteo
Документация
Релизная версия - https://pygismeteo.readthedocs.io
Git версия - https://pygismeteo.readthedocs.io/ru/latest
Пример, выводящий температуру в Москве сейчас
from pygismeteo import Gismeteo
gm = Gismeteo()
city_id = gm.get_id_by_query("Москва")
current = gm.current(city_id)
print(current.temperature.air.c)
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-4.0.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9fe0c8a3088f4dc1a3a9c8593dde6e192275d5a1e26668d37aa35f347aca536 |
|
MD5 | 146916b362f6ffa7baa794b9ce5192dc |
|
BLAKE2b-256 | 0cca5cdf3bd78d1d73ffb7cef3ece921e9610d6c5a3181234835915c6dba48d6 |