Asynchronous api wrapper for www.weatherapi.com!
Project description
Asynchronous api wrapper for www.weatherapi.com!
Usage
Quick Start
Install from PyPi:
pip install PyAsyncWeatherAPI==1.0.0
Example
import asyncio
from weather_api import WeatherAPI
async def main():
w_api = WeatherAPI("api-key")
weather = await w_api.current(city="Yoshkar-Ola")
print(weather.current.temp_c)
asyncio.run(main())
- Library docs
- API docs
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
PyAsyncWeatherAPI-1.0.1.tar.gz
(16.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file PyAsyncWeatherAPI-1.0.1.tar.gz.
File metadata
- Download URL: PyAsyncWeatherAPI-1.0.1.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f52cbb440f3569d38bcd23b18e2d651d84e459e4b19dea7e14eb81e303dc2b07
|
|
| MD5 |
f5394979a7d7f26479601a32adabcb37
|
|
| BLAKE2b-256 |
38ca19ace80121539706affd17a5e5f4174e432ec852675a0bbda3560a9b4fac
|
File details
Details for the file PyAsyncWeatherAPI-1.0.1-py3-none-any.whl.
File metadata
- Download URL: PyAsyncWeatherAPI-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcff09718aad14609159de6d3d4ae100411474710b00aa750f3445936118bf67
|
|
| MD5 |
a91853731d2ab093caeba5b9134d4a64
|
|
| BLAKE2b-256 |
29cb69eb3f7dcd42be4691ea3318c44d0b7fd059cf92bc805b9883a49f5c6030
|