Wrapper for Gismeteo.ru API
Project description
pygismeteo
Обёртка для Gismeteo.ru API.
Асинхронная версия здесь.
Установка
python -m pip install -U pygismeteo
Документация
https://pygismeteo.readthedocs.io
Пример, выводящий температуру в Москве сейчас
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.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-4.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed2ded9aa343874cc3f79a85682833136e0849fca7fd9a66ce9049b60e5754b |
|
MD5 | c07987fff899fb99aa892e0ea3b1cfdb |
|
BLAKE2b-256 | 63d653e2d5f9e69dbc7eb3df44020328155a644aebd5af3a5ed7da72b539ae32 |