<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
## Installation
```shell
pip install rule34Py
```
## 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/29/88/1419cfd5a66740eefac01f591e2f5c6d02a9995dc833978ee687adf1601d/rule34python-0.0.1.2.tar.gz",
"platform": null,
"description": "<div align=\"center\">\r\n <br />\r\n <p>\r\n <a href=\"https://discord.gg/GTJtFGUNV5\"><img src=\"https://upload.wikimedia.org/wikipedia/commons/d/d9/Rule34Logo.png\", width=\"200\", height=\"100\">\r\n </a>\r\n </p>\r\n <br />\r\n</div>\r\nthis api is designed for the connection between rule34 and discord users.\r\n\r\n## Version\r\n- 0.0.0.7: fix when returning information and improve in README.md\r\n- 0.0.0.9: new yandere.re\r\n- 0.0.1.1: new fuctions, random comments and get artist info yandere.re\r\n\r\n## Installation\r\n```shell\r\npip install rule34Py\r\n```\r\n## Usage rule34\r\nto start import ``rule34Python`` \r\n\r\n```shell\r\nfrom rule34Python import rule34\r\n\r\nRule34 = rule34.search(\"catgirl\", limit=3)\r\n\r\nprint(Rule34)\r\n```\r\n\r\n## Rule34\r\n\r\nthe functions in rule34 are as follows:\r\n\r\n### Search\r\n\r\nfind a name specific to your taste \r\nrequirements | descriptions\r\n---|---\r\nlimit| is the limit of images to be sent\r\nComments | gets random comments from the same tag you posted \r\ntags | will be the content that will be searched in the api to return the link.\r\n\r\n### random_post\r\n\r\nsearch for an allatory publication\r\nrequirements | descriptions\r\n---|---\r\nlimit| is the limit of images to be sent\r\n\r\nwill be the content that will be searched in the api to return the link.\r\n## usage yandere.re\r\n\r\nto start import ``rule34Python``\r\n#### page example\r\n```shell\r\n\r\n\r\nimport yandereRe\r\n\r\nr = yandereRe.getArtists(page=6)\r\n\r\nprint(f\"\"\"\r\nname: {r.name}\r\nid: {r.id}\r\ngroup_id: {r.group_id if r.group_id else 'no tiene grupo'}\r\nurls: {'\\n'.join(r.urls.split()) if r.urls else 'no tiene links puestos'}\r\n\"\"\")\r\n```\r\n#### name example\r\n```shell\r\n#page example\r\n\r\nimport yandereRe\r\n\r\nr = yandereRe.getArtists(name= \"neko-baka\")\r\n\r\nprint(f\"\"\"\r\nname: {r.name}\r\nid: {r.id}\r\ngroup_id: {r.group_id if r.group_id else 'no tiene grupo'}\r\nurls: {'\\n'.join(r.urls.split()) if r.urls else 'no tiene links puestos'}\r\n\"\"\")\r\n```\r\n## New yandere.re\r\n\r\nthe functions in yandere.re are as follows:\r\n\r\n### Search\r\n\r\nfind a name specific to your taste \r\n\r\nrequirements | descriptions\r\n---|---\r\nlimit| is the limit of images to be sent\r\ntags [optional]| will be the content that will be searched in the api to return the link.\r\n\r\n### random_post\r\n\r\nsearch for an allatory publication\r\nrequirements | descriptions\r\n---|---\r\nlimit| is the limit of images to be sent\r\n\r\n### Search Artist\r\n\r\nsearch artist you want or one alatorio de yandere.re \r\nrequirements | descriptions\r\n---|---\r\nname |search directly with the user's name on the page\r\npage |search for an alatorian user of the page you posted\r\n\r\n## coming soon\r\n\r\n### rule34 improvements\r\n\r\nimprovements | Description\r\n---|---\r\nDeleted Images | get images deleted from the page\r\n creator_id | get the id of the user who uploaded it\r\n created_at | show the date of creation of the publication\r\n \r\n### future functions\r\n\r\npages | Description\r\n---|---\r\nbooru | will connect to the booru api\r\n",
"bugtrack_url": null,
"license": "MIT license",
"summary": "rule 34 api public, get post",
"version": "0.0.1.2",
"project_urls": {
"Homepage": "https://github.com/EverGasterXd/sara_api"
},
"split_keywords": [
"nsfw",
"rule",
"rule34"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a09ec4280ddb41b8026aaae9d9572ea12bde4470afe6c1c9e6d2f9eb0bc91300",
"md5": "bb8e5520b1870e8c106a139e4222aa4a",
"sha256": "063600cd5f73bd5b6445619de9fa7b1fc12ce9c7b27911de34d55deb75549372"
},
"downloads": -1,
"filename": "rule34Python-0.0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bb8e5520b1870e8c106a139e4222aa4a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.0",
"size": 5310,
"upload_time": "2024-06-13T20:44:46",
"upload_time_iso_8601": "2024-06-13T20:44:46.788091Z",
"url": "https://files.pythonhosted.org/packages/a0/9e/c4280ddb41b8026aaae9d9572ea12bde4470afe6c1c9e6d2f9eb0bc91300/rule34Python-0.0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "29881419cfd5a66740eefac01f591e2f5c6d02a9995dc833978ee687adf1601d",
"md5": "2ea0d777de70bfd970e2f77a5a0b80b1",
"sha256": "4db385e64607c558df0030d176c56268d6f97c9dc49c890971cf700693f1e434"
},
"downloads": -1,
"filename": "rule34python-0.0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "2ea0d777de70bfd970e2f77a5a0b80b1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.0",
"size": 3984,
"upload_time": "2024-06-13T20:44:49",
"upload_time_iso_8601": "2024-06-13T20:44:49.884573Z",
"url": "https://files.pythonhosted.org/packages/29/88/1419cfd5a66740eefac01f591e2f5c6d02a9995dc833978ee687adf1601d/rule34python-0.0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-13 20:44:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "EverGasterXd",
"github_project": "sara_api",
"github_not_found": true,
"lcname": "rule34python"
}