Metadata-Version: 2.4
Name: aiowallhaven
Version: 0.0.5
Summary: an asynchronous API wrapper for https://wallhaven.cc
License: MIT
License-File: LICENSE.txt
Author: Dmitrii Efimov
Author-email: efimov.1992@outlook.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: aiohappyeyeballs (==2.6.1)
Requires-Dist: aiohttp (==3.13.2)
Requires-Dist: aiolimiter (==1.2.1)
Requires-Dist: aiosignal (==1.4.0)
Requires-Dist: async-timeout (==5.0.1)
Requires-Dist: attrs (==25.4.0)
Requires-Dist: frozenlist (==1.8.0)
Requires-Dist: idna (==3.11)
Requires-Dist: multidict (==6.7.0)
Requires-Dist: propcache (==0.4.1)
Requires-Dist: typing-extensions (==4.15.0)
Requires-Dist: yarl (==1.22.0)
Description-Content-Type: text/markdown

# 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](https://aiowallhaven.readthedocs.io/en/latest/).

## License

aiowallhaven is developed and distributed under the MIT
license.

