rule 34 api public, get post
Project description
this api is designed for the connection between rule34 and discord users.
Version
- 0.0.0.7: fix when returning information and improve in README.md
- 0.0.0.9: new yandere.re
- 0.0.1.1: new fuctions, random comments and get artist info yandere.re
- 0.0.1.3: decorated
Installation
pip install rule34Py
Usage rule34
to start import rule34Python
from rule34Python import rule34
Rule34 = rule34.search("catgirl", limit=3)
print(Rule34)
Rule34
the functions in rule34 are as follows:
Search
find a name specific to your taste
requirements | descriptions |
---|---|
limit | is the limit of images to be sent |
Comments | gets random comments from the same tag you posted |
tags | will be the content that will be searched in the api to return the link. |
random_post
search for an allatory publication
requirements | descriptions |
---|---|
limit | is the limit of images to be sent |
will be the content that will be searched in the api to return the link.
usage yandere.re
to start import rule34Python
page example
import yandereRe
r = yandereRe.getArtists(page=6)
print(f"""
name: {r.name}
id: {r.id}
group_id: {r.group_id if r.group_id else 'no tiene grupo'}
urls: {'\n'.join(r.urls.split()) if r.urls else 'no tiene links puestos'}
""")
name example
#page example
import yandereRe
r = yandereRe.getArtists(name= "neko-baka")
print(f"""
name: {r.name}
id: {r.id}
group_id: {r.group_id if r.group_id else 'no tiene grupo'}
urls: {'\n'.join(r.urls.split()) if r.urls else 'no tiene links puestos'}
""")
New yandere.re
the functions in yandere.re are as follows:
Search
find a name specific to your taste
requirements | descriptions |
---|---|
limit | is the limit of images to be sent |
tags [optional] | will be the content that will be searched in the api to return the link. |
random_post
search for an allatory publication
requirements | descriptions |
---|---|
limit | is the limit of images to be sent |
Search Artist
search artist you want or one alatorio de yandere.re
requirements | descriptions |
---|---|
name | search directly with the user's name on the page |
page | search for an alatorian user of the page you posted |
coming soon
rule34 improvements
improvements | Description |
---|---|
Deleted Images | get images deleted from the page |
creator_id | get the id of the user who uploaded it |
created_at | show the date of creation of the publication |
future functions
pages | Description |
---|---|
booru | will connect to the booru api |
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
rule34python-0.0.1.3.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file rule34python-0.0.1.3.tar.gz
.
File metadata
- Download URL: rule34python-0.0.1.3.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceefbd7cea1494ce46102ab8d2eaab2279594fab35b2385228c3e47431def4d7 |
|
MD5 | 01780d902bfe0bc37804d67bb9bddaa4 |
|
BLAKE2b-256 | ffb278805ee6a642d784847b49a5ccfbfc2da8f97ece9c8b69293309d28e2e8b |
File details
Details for the file rule34Python-0.0.1.3-py3-none-any.whl
.
File metadata
- Download URL: rule34Python-0.0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 871b8460d998be3a71e29f56f18d6ae88d183a43b25c199ad2e2a4e98acbb6af |
|
MD5 | f708da8935af38bb1f04d805a6ee81e0 |
|
BLAKE2b-256 | 5e52ca8ec39982c9b030c2eeda8e5e6daaf9152b0ce5a6dd4f6f5da50dbaf138 |