Skip to main content

API wrapper for rule34.xxx

Project description

rule34py

Build Status GPL-3.0

Python API wrapper for rule34.xxx.

Installation

rule34Py is available directly from the Python Package Index and can be installed via pip.

pip install rule34Py

Or you can build it from source using this project. See the Developer Guide for more information.

Quickstart

from rule34Py import rule34Py
client = rule34Py()
client.api_key = "YOUR_API_KEY"
client.user_id = "YOUR_USER_ID"

# Get comments of an post.
client.get_comments(4153825)

# Get post by its id.
client.get_post(4153825)

# Get top 100 icame.
client.icame()

# Search for posts by tag(s).
client.search(["neko"], page_id=2, limit=50)

# Get pool by id.
client.get_pool(28)

# Get a random post.
random = client.random_post()

# Get just a random post ID.
random_id = client.random_post_id()

Documentation

This project has extensive documentation, hosted on the upstream Github Pages. It includes additional Tutorials, User Guides, API Documentation, and more.

See the Contributing Guide for information about how to contribute to this project and file bugs.

Project details


Release history Release notifications | RSS feed

This version

4.2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rule34py-4.2.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

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

rule34py-4.2.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

Details for the file rule34py-4.2.0.tar.gz.

File metadata

  • Download URL: rule34py-4.2.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Linux/7.0.10-arch1-1

File hashes

Hashes for rule34py-4.2.0.tar.gz
Algorithm Hash digest
SHA256 4c43de2106f01419e0dd2594000645bcc584302d1508a7343881103a475ca9d6
MD5 9d4da209400395df69b0fce9041e35aa
BLAKE2b-256 f001b8fe66d4ac86335f882c6e4b5d245e04ce12846b61d206b773857a743358

See more details on using hashes here.

File details

Details for the file rule34py-4.2.0-py3-none-any.whl.

File metadata

  • Download URL: rule34py-4.2.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Linux/7.0.10-arch1-1

File hashes

Hashes for rule34py-4.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d09113f0a15ab4a035347ed3ca2bb4048a5c29c9057ab0712b49efac47f20cd
MD5 f6d39810e85839d94ca4af63d910d419
BLAKE2b-256 ea7ca17c2cfdde7123e12093e922b3091b6000566a74f737c50807191c699375

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