Git Product home page Git Product logo

rule34-api-wrapper's Introduction

build status

Rule34.xxx API Wrapper

First off, thank you to LordOfPolls along with the many other's that have forked the original.

This is a simple module for simplifying access to the rule34.xxx API asynchronously

To assist bot developers, this wrapper doesnt use requests at all. Instead it uses aiohttp. And to assist people who arent coding asynchronously, theres a class called Sync that allows this module to work without worrying about coroutines.

If you arent coding asynchronously, simply use this code

import rule34
rule34 = rule34.Sync()
rule34.getImages("SearchQuery")

If you are coding asynchronously use this code:

import rule34
rule34 = rule34.Rule34([your event loop])
await rule34.getImages("SearchQuery")

How do I install this?

From github

pip install https://github.com/WhatsCS/Rule34-API-Wrapper/archive/master.zip --upgrade

Want to help improve the wrapper?

Sure! Just make a pull request ^-^

If your change improves how the wrapper works, I'll merge it!

What to do if it stops working

  1. Scream and panic at your lost porn
  2. Breathe
  3. Make an issue on github, and be as detailed as possible (screenshots and tracebacks help a lot)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.