Skip to main content

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.0.9.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rule34Py-1.0.9-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file rule34Py-1.0.9.tar.gz.

File metadata

  • Download URL: rule34Py-1.0.9.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for rule34Py-1.0.9.tar.gz
Algorithm Hash digest
SHA256 00fb52af404b89212f81f63227304b69446a8771611fb4ac00c6655383a2d0c2
MD5 b8af94de67e17419f018e69b65c542c2
BLAKE2b-256 8085030136e89845de972f7d381281b61c7ae9954488ca9689c5a18216034777

See more details on using hashes here.

File details

Details for the file rule34Py-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: rule34Py-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for rule34Py-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 25963bb142b248b9ddc018e82a4022d8689533c6a09747ee936f082edf628903
MD5 573baf08a32c6a069986403557141589
BLAKE2b-256 88076d92ec75b8a384b9be2329a44d227dee820a0ead7c053189223de796d864

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page