Skip to main content

An e621 API wrapper

Project description

e6py

e6py is an API wrapper for e621/e926

Requirements

  • Python 3.10
  • requests >= 2.26.0
  • attrs >= 21.2.0

Usage

from e6py import E621Client

client = E621Client(login="username", api_key="API Key")
posts = 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-0.1.2.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

e6py-0.1.2-py3-none-any.whl (19.8 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