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

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.0.2.tar.gz (25.3 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.0.2-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rule34py-4.0.2.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.8-arch1-1

File hashes

Hashes for rule34py-4.0.2.tar.gz
Algorithm Hash digest
SHA256 e132f97e7e27ba1ed7b6853b519caefaffb2617f11617855c07c4c04c0074e83
MD5 c5da82d8bd40635b81dc70fa9e5e9578
BLAKE2b-256 4c63e43991d3d89f688a7760b86739ab154787fe4c419342d794749b940d6274

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rule34py-4.0.2-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.13.7 Linux/6.17.8-arch1-1

File hashes

Hashes for rule34py-4.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ee789b7cf58fed9de4670b964ae9ec1a1f6da5ab67a245bcef54b6e5808aac25
MD5 3c1f15061a807802e665be367d3989da
BLAKE2b-256 3c299a4ec23cca6ab3d96014709403077014bdb647cd4e1f066314d5aec4821d

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