aiowallhaven: a simple API

aiowallhaven is a Python library for synchronically interact with https://wallhaven.cc API. It offers a simple and intuitive way to interact with the API.


An example:

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())

aiowallhaven allows you to interact with wallhaven’s API extremely easily.

Check out the Usage section for further information, including how to install the library.

Check out the The Base Class, Functions and Exceptions section to learn more about the base class, functions and exceptions included with this library.

The User Guide