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
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.2.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.2.tar.gz.
File metadata
- Download URL: PyAsyncWeatherAPI-1.0.2.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 |
b86456c70632b8b7845d41fb893624fc27a9381784b345c48208d64b4347125b
|
|
| MD5 |
16daf8f23e3a33a1d4528d0be7bff58f
|
|
| BLAKE2b-256 |
0e7df216a06b13f565ab48f00491ec082df4b0b69f08bb96fe8abd42b6f969f0
|
File details
Details for the file PyAsyncWeatherAPI-1.0.2-py3-none-any.whl.
File metadata
- Download URL: PyAsyncWeatherAPI-1.0.2-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 |
1650812b6fcd49eab1bf59087e4b8bd474ec75f69d2228d01ffde8ab3d173b2a
|
|
| MD5 |
d90b1d8ab3de5e528b3183f4f35e054e
|
|
| BLAKE2b-256 |
2f0b505515fbfbc106e45f7e06ab3b803ed99f471cd568cc0b9e9a40d0b5edf1
|