Asynchronous wrapper for Gismeteo.ru API
Project description
aiopygismeteo
Асинхронная обёртка для Gismeteo.ru API.
Синхронная версия здесь.
Установка
python -m pip install -U aiopygismeteo
Документация
https://aiopygismeteo.readthedocs.io
Пример, выводящий температуру в Москве сейчас
import asyncio
from aiopygismeteo import Gismeteo
async def main():
gm = Gismeteo()
city_id = await gm.get_id_by_query("Москва")
current = await gm.current(city_id)
print(current.temperature.air.c)
asyncio.run(main())
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
aiopygismeteo-4.0.1.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for aiopygismeteo-4.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54990ae20da7ab8370d7b62a9df16d6b6facea3eaee1df6f78c64f6d88bfc424 |
|
MD5 | 2d4bac05d85280f8e2e46774672f29dc |
|
BLAKE2b-256 | 60f1ef1f77a147b2c29565efe47afcc5b23087612433a2cb6f1abd9f8d6c04f4 |