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.5.tar.gz
(6.0 kB
view hashes)
Built Distribution
Close
Hashes for pygismeteo-5.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c931aca99eedf7c2489ba976e1a9982ca33307cec986b7453c3ed40603827c3c |
|
MD5 | 89913658ffc6877e37962b87f6d89e2c |
|
BLAKE2b-256 | c3a39dadf24ee90ad441393175e734bf1cde8baca0e9b468cec5744971dba039 |