Wrapper for Gismeteo API
Project description
pygismeteo
Обёртка для Gismeteo API.
Асинхронная версия здесь.
Установка
python -m pip install -U pygismeteo
Документация
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.1.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-5.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ce7c8ca6541cd74c0a12b9915515bf368514dc7360bb8c268d4810a3cb5516b |
|
MD5 | 314030d2e0370a3b3852aebaa0b99125 |
|
BLAKE2b-256 | 9d83a327388d03da811cbb09c80000c89a5196c589c14d7f8f39601539b509f0 |