Skip to main content

An e621 asyncio API wrapper

Project description

e6py-aio

e6py-aio is an asyncio API wrapper for e621/e926

Requirements

  • Python >= 3.10
  • aiohttp >= 3.8.5
  • attrs >= 22.2.0

Usage

from e6py_aio import E621Client

client = E621Client(login="username", api_key="API Key")
posts = await client.get_posts()

for post in posts:
    print(f"Got post {post.id}")
    print(f"  Rating: {post.rating}")
    print(f"   Score: {post.score}")
    print(f"     URL: {post.file.url}")

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

e6py_aio-0.1.3.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

e6py_aio-0.1.3-py3-none-any.whl (20.2 kB view hashes)

Uploaded Python 3

Supported by

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