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.
Documentation can be found in the wiki: https://github.com/LordOfPolls/Rule34-API-Wrapper/wiki
import rule34
rule34 = rule34.Sync()
rule34.getImages("SearchQuery")
import rule34
rule34 = rule34.Rule34([your event loop])
await rule34.getImages("SearchQuery")
For an example use case see: Rule34 Downloader
pip install rule34
pip install https://github.com/LordOfPolls/Rule34-API-Wrapper/archive/master.zip --upgrade
Sure! Just make a pull request ^-^
If your change improves how the wrapper works, ill merge it!
I advise you dont modify .travis.yml
or the function selfTest
, because theyre used by travis-ci and modifying them may cause the build to fail when testing
- Scream and panic at your lost porn
- Breathe
- Make an issue on github, and be as detailed as possible (screenshots and tracebacks help a lot)
Why not buy me a coffee? http://paypal.me/LordOfPolls