Asynchronous wrapper for Gismeteo.ru API
Project description
aiopygismeteo
Асинхронная обёртка для Gismeteo.ru API.
Синхронная версия здесь.
Установка
pip install -U aiopygismeteo
Документация
Для текущей релизной версии - https://aiopygismeteo.readthedocs.io
Для git версии - https://aiopygismeteo.readthedocs.io/ru/latest
Пример, выводящий температуру в Москве сейчас
import asyncio
import aiopygismeteo
async def main():
city_id = await aiopygismeteo.search.id_by_query("Москва")
gm = await aiopygismeteo.current(city_id)
print(gm.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-3.0.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for aiopygismeteo-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3bb4306e6ee051c905f50cada5bf4036cf7b9134782ee3166ffd3b77027b8d |
|
MD5 | 16e77963330da902911044ed61f5f81e |
|
BLAKE2b-256 | d4b4e42d427b2cc55eade378d14b262edd70cdfb1923932372ce6abe61727ee6 |