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
Release history Release notifications | RSS feed
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 details)
Built Distribution
e6py-0.1.2-py3-none-any.whl
(19.8 kB
view details)
File details
Details for the file e6py-0.1.2.tar.gz
.
File metadata
- Download URL: e6py-0.1.2.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b337afe1906296b35dd70d138cbc008f4f388258050998900ffdd7b37016ff |
|
MD5 | 27abda229436ba0e770ef611bafbc13b |
|
BLAKE2b-256 | a5d124e61373f296ae1211c5e80f9faf4d5cbda7de1d10eab59857fe9b0049ce |
File details
Details for the file e6py-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: e6py-0.1.2-py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.10.7 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef38d075bbc92a762090db052c7cf1c5a70b51c80123ecc47ab05816224abf79 |
|
MD5 | c1f7735e108cc4ce992f9d2dd15553f1 |
|
BLAKE2b-256 | 44c2233bfa444a55e06d655e792402d0993bca7c12599c21be6c02f4aba60119 |