Wrapper for Gismeteo API
Project description
pygismeteo
Обёртка для Gismeteo API.
Асинхронная версия здесь.
Установка
python -m pip install -U pygismeteo pygismeteo-base
Документация
https://pygismeteo.readthedocs.io/
Пример, выводящий температуру в Москве сейчас
import pygismeteo
gm = pygismeteo.Gismeteo()
search_results = gm.search.by_query("Москва")
city_id = search_results[0].id
current = gm.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.2.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-5.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85583f4411a7b7644e20191adc7cd3ce751cb3de0337aee94a5e8f7d18cfa146 |
|
MD5 | 555661a923d4af65d9a274fbf380804f |
|
BLAKE2b-256 | e21843bb845d8be938566063f90366154c185530727b215a9c8e722c020ef120 |