<div align="center">
<br />
<p>
<a href="https://discord.gg/GTJtFGUNV5"><img src="https://upload.wikimedia.org/wikipedia/commons/d/d9/Rule34Logo.png", width="200", height="100">
</a>
</p>
<br />
</div>
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
- 0.0.1.4: pip install repair
## Installation
```shell
pip install rule34Python
```
## Usage rule34
to start import ``rule34Python``
```shell
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
```shell
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
```shell
#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
Raw data
{
"_id": null,
"home_page": "https://github.com/EverGasterXd/sara_api",
"name": "rule34Python",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.0",
"maintainer_email": null,
"keywords": "nsfw rule rule34",
"author": "evergaster",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/34/c0/233e9d9f066b8d4efe03fd27163f5aeb7032c48a62b3bec592cee74fa78e/rule34python-0.0.1.4.tar.gz",
"platform": null,
"description": "<div align=\"center\">\n <br />\n <p>\n <a href=\"https://discord.gg/GTJtFGUNV5\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/d/d9/Rule34Logo.png\", width=\"200\", height=\"100\">\n </a>\n </p>\n <br />\n</div>\nthis api is designed for the connection between rule34 and discord users.\n\n## Version\n- 0.0.0.7: fix when returning information and improve in README.md\n- 0.0.0.9: new yandere.re\n- 0.0.1.1: new fuctions, random comments and get artist info yandere.re\n- 0.0.1.3: decorated\n- 0.0.1.4: pip install repair\n\n## Installation\n```shell\npip install rule34Python\n```\n## Usage rule34\nto start import ``rule34Python`` \n\n```shell\nfrom rule34Python import rule34\n\nRule34 = rule34.search(\"catgirl\", limit=3)\n\nprint(Rule34)\n```\n\n## Rule34\n\nthe functions in rule34 are as follows:\n\n### Search\n\nfind a name specific to your taste \nrequirements | descriptions\n---|---\nlimit| is the limit of images to be sent\nComments | gets random comments from the same tag you posted \ntags | will be the content that will be searched in the api to return the link.\n\n### random_post\n\nsearch for an allatory publication\nrequirements | descriptions\n---|---\nlimit| is the limit of images to be sent\n\nwill be the content that will be searched in the api to return the link.\n## usage yandere.re\n\nto start import ``rule34Python``\n#### page example\n```shell\n\n\nimport yandereRe\n\nr = yandereRe.getArtists(page=6)\n\nprint(f\"\"\"\nname: {r.name}\nid: {r.id}\ngroup_id: {r.group_id if r.group_id else 'no tiene grupo'}\nurls: {'\\n'.join(r.urls.split()) if r.urls else 'no tiene links puestos'}\n\"\"\")\n```\n#### name example\n```shell\n#page example\n\nimport yandereRe\n\nr = yandereRe.getArtists(name= \"neko-baka\")\n\nprint(f\"\"\"\nname: {r.name}\nid: {r.id}\ngroup_id: {r.group_id if r.group_id else 'no tiene grupo'}\nurls: {'\\n'.join(r.urls.split()) if r.urls else 'no tiene links puestos'}\n\"\"\")\n```\n## New yandere.re\n\nthe functions in yandere.re are as follows:\n\n### Search\n\nfind a name specific to your taste \n\nrequirements | descriptions\n---|---\nlimit| is the limit of images to be sent\ntags [optional]| will be the content that will be searched in the api to return the link.\n\n### random_post\n\nsearch for an allatory publication\nrequirements | descriptions\n---|---\nlimit| is the limit of images to be sent\n\n### Search Artist\n\nsearch artist you want or one alatorio de yandere.re \nrequirements | descriptions\n---|---\nname |search directly with the user's name on the page\npage |search for an alatorian user of the page you posted\n\n## coming soon\n\n### rule34 improvements\n\nimprovements | Description\n---|---\nDeleted Images | get images deleted from the page\n creator_id | get the id of the user who uploaded it\n created_at | show the date of creation of the publication\n \n### future functions\n\npages | Description\n---|---\nbooru | will connect to the booru api\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "rule 34 api public, get post",
"version": "0.0.1.4",
"project_urls": {
"Homepage": "https://github.com/EverGasterXd/sara_api"
},
"split_keywords": [
"nsfw",
"rule",
"rule34"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "69d9ed4a8492c02684b2923b53e6784863ce461c222f82efa180762af01843fb",
"md5": "402a2741f0b4110a33bdf387de23959c",
"sha256": "104f4f700e3222ea6c6c46cd81b7c75d0c652f2b2ddf0e3ca151ce0dacbbdd91"
},
"downloads": -1,
"filename": "rule34Python-0.0.1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "402a2741f0b4110a33bdf387de23959c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 5419,
"upload_time": "2024-07-29T00:43:18",
"upload_time_iso_8601": "2024-07-29T00:43:18.015296Z",
"url": "https://files.pythonhosted.org/packages/69/d9/ed4a8492c02684b2923b53e6784863ce461c222f82efa180762af01843fb/rule34Python-0.0.1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "34c0233e9d9f066b8d4efe03fd27163f5aeb7032c48a62b3bec592cee74fa78e",
"md5": "368da7bf17da0ea07bf4e703608e961a",
"sha256": "22833fdc1e9644a5aec3659eb5b5b39ec23a66457037b47516a7b8489e6acf22"
},
"downloads": -1,
"filename": "rule34python-0.0.1.4.tar.gz",
"has_sig": false,
"md5_digest": "368da7bf17da0ea07bf4e703608e961a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 4079,
"upload_time": "2024-07-29T00:43:19",
"upload_time_iso_8601": "2024-07-29T00:43:19.372877Z",
"url": "https://files.pythonhosted.org/packages/34/c0/233e9d9f066b8d4efe03fd27163f5aeb7032c48a62b3bec592cee74fa78e/rule34python-0.0.1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-29 00:43:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EverGasterXd",
"github_project": "sara_api",
"github_not_found": true,
"lcname": "rule34python"
}