Skip to main content

an asynchronous API wrapper for https://wallhaven.cc

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.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiowallhaven-0.0.5-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file aiowallhaven-0.0.5.tar.gz.

File metadata

  • Download URL: aiowallhaven-0.0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aiowallhaven-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6842062059e0795904c007165edd75fbb3b7b129fa2757690cc751b6655dee80
MD5 158b11e3aaf65d47344fb133298bcdcb
BLAKE2b-256 1d0e8d41c4a6ff02b2098837935fc3c3860968bb3e26fd79811f1e0c9317d650

See more details on using hashes here.

File details

Details for the file aiowallhaven-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: aiowallhaven-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for aiowallhaven-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 046976562de69af0d143d581357c8989e23e89dda54763779afd028c0779ea34
MD5 a956ca48a3e28edb51bcf824a65bfc3c
BLAKE2b-256 ea724978c228dbc04491f8c8bfd84fa83cf405954ebb9148b0594dfa20b04d3a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page