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
Pool:
- fetching (only one page at a time for now)
- creating
- editing
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.8.0.tar.gz
(10.4 kB
view details)
Built Distribution
E620py-0.8.0-py3-none-any.whl
(12.3 kB
view details)
File details
Details for the file E620py-0.8.0.tar.gz
.
File metadata
- Download URL: E620py-0.8.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cb43a280e5faa604a951dd77dbfa2f06506e7a18e2298c9b0cc6d8929be196d |
|
MD5 | 4cb0ceda72d3bdc4b5316c69797e69fc |
|
BLAKE2b-256 | 3b4198db1ad1e81b5e10ec275b431deb86cbad60f3a6df8c5147b97d14d4afd8 |
File details
Details for the file E620py-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: E620py-0.8.0-py3-none-any.whl
- Upload date:
- Size: 12.3 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 | 46059b536c8fcbd225ab475f690ac087776b78d0f323211f852a0f9e2129b732 |
|
MD5 | 0e375ad0afc38cb19b63db21d2f403fc |
|
BLAKE2b-256 | 4197a248033e8274ab31edb9ed09ccd481637e6d6bc289559ee152e45bc26bd4 |