Async wrapper for Wallhaven's API
Project description
aiowallhaven
aiowallhaven is an asynchronous API wrapper for popular wallpaper hosting site wallhaven.cc.
Basic Usage:
import asyncio
from aiowallhaven import WallHavenAPI
wallhaven = WallHavenAPI("Your-API-key")
async def wallpaper_details():
request = await wallhaven.get_wallpaper("5758y8")
print(request)
loop = asyncio.get_event_loop()
loop.run_until_complete(wallpaper_details())
Prerequisites
The following dependencies are required:
- Python 3.10
- aiohttp library
- aiolimiter library
Installation
$ pip install aiowallhaven
Documentation
The documentation is available at readthedocs.io.
License
aiowallhaven is developed and distributed under the MIT license.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aiowallhaven-0.0.4.tar.gz
(8.2 kB
view details)
Built Distribution
File details
Details for the file aiowallhaven-0.0.4.tar.gz
.
File metadata
- Download URL: aiowallhaven-0.0.4.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f3f156c1a22d7324cf26ab036d73a56e56a4c76cf86670ddce3ee13ab9e2e6b |
|
MD5 | e94b4117eeb6e6ef5bc9cb8e6e062c7d |
|
BLAKE2b-256 | 17c1175cf166cbcf9e3562784d30b96340a30f9606e6c393ac5748f1539c7723 |
File details
Details for the file aiowallhaven-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: aiowallhaven-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0ce98090065674076d3ba0b89002e7f44cf07b26cebfe24931308273440bed3 |
|
MD5 | 6fd1ec648f4f6eacb934b196172259a4 |
|
BLAKE2b-256 | 5b836c38b1ea32338abf1e6626b6ac87a6b2d866d523a2ffdda9d07e958afdc7 |