API wraper for rule34.xxx
Reason this release was yanked:
Outdated
Project description
rule34Py
This is a Simple rule34.xxx API wraper.
Installation
pip install rule34Py
Code Snippet:
from rule34Py import rule34Py
r34Py = rule34Py()
results = r34Py.search(['neko'], 10)
favs = r34Py.getFavorites(118538, true)
comments = r34Py.getComments(4485507)
post = r34Py.getPost(4485507)
print(favs)
Usage
rule34Py
Syntax: r34Py = rule34Py()
Creates a new rule34Py instance.
getComments
Syntax: <rule34Py>.getCommanets(<post_id>)
post_id
<int>- returns: <list>
Get Comments from a Post.
getFavorites
Syntax: <rule34Py>.getFavorites(<user_id>, <?id_only>)
user_id
<int>id_only
<boolean> (Optional, Defaults is false)- returns: <list>
Gets Favorites from a User.
getPost
Syntax: <rule34Py>.getPost(<post_id>)
post_id
<int>- returns: <dictionary>
Gets Post by ID.
search
Syntax: <rule34Py>.search([<tags>], <?limit>)
tags
<list> (Tag Cheatsheet)limit
<int> (Optional, Defaults is 100 and max limit is 100)- returns: <dictionary>
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
rule34Py-1.1.10.tar.gz
(16.3 kB
view hashes)
Built Distribution
rule34Py-1.1.10-py3-none-any.whl
(16.3 kB
view hashes)
Close
Hashes for rule34Py-1.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d677fbb513819c74c87116ee8207166b01ee24a269a150b0f163b47fd6c665 |
|
MD5 | e25430fe911e7f3187f76dde09508e67 |
|
BLAKE2b-256 | 2640ee89892ab691ebdeca3250935f8aa7238b09597e551b43f4032aa65625d9 |