A python library for interacting with the e621 api
Project description
E620py
E620py is a python library for interacting with the e621 api designed to be simple and easy to use.
Here is an example of fetching a single post:
>>> import e620py
>>> post = e620py.E6get().post_get("order:score", fetch_all=False, fetch_count=1)
>>> print(post[0].m_id)
2848682
Most functions have doc strings so its easy to quickly see how a function works without having to understand the spaghetti code 💀. I will try and implement all of the main features of the e621 api and possibly implement some of the undocumented endpoints.
Features
Post:
- Fetching
- Uploading (uploading a file directly does not work)
- Editing
- Voting
- Favorite and unfavorite
- Downloading
Pool:
- Fetching (only one page at a time for now)
- Creating
- Editing
- Downloading
Note: The download functions do not have doc strings yet
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
E620py-0.9.0.tar.gz
(12.6 kB
view details)
Built Distribution
E620py-0.9.0-py3-none-any.whl
(14.7 kB
view details)
File details
Details for the file E620py-0.9.0.tar.gz
.
File metadata
- Download URL: E620py-0.9.0.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ae7c78fa41b5c5f58078537242fc8247aa6af6393f640d51d6dfdaf3ab3deda |
|
MD5 | 0450d8bcd4785951d8a17ddfeb7967a6 |
|
BLAKE2b-256 | 789c8bb8d5df4f51527940aa70dd056308f5a190e97eca781b60834d8c953bab |
File details
Details for the file E620py-0.9.0-py3-none-any.whl
.
File metadata
- Download URL: E620py-0.9.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f072238316a7f27b23f802d3b0cf878e1ebf53b72d801b225e46e666ec0f2e29 |
|
MD5 | 41d663089663251df28ea520c0a93e18 |
|
BLAKE2b-256 | 8ecc320d2e4a374b79d7760590dbe259d8692b00c8dde9213eee4d50923ccda2 |