PRSAW, an acronym for `Python Random Stuff API Wrapper`, is a wrapper for the Random Stuff API.
Project description
PRSAW 0.1.0
PRSAW, an acronym for Python Random Stuff API Wrapper
, is a wrapper for the Random Stuff API.
Github: https://github.com/CodeWithSwastik/prsaw
Installation
You can install released versions of prsaw from the Python Package Index with pip or a similar tool:
Stable Release: pip install prsaw
Working Version: pip install git+https://github.com/CodeWithSwastik/prsaw.git
Example Usage:
>>> from prsaw import RandomStuff
>>> rs = RandomStuff()
>>> rs.create_session()
>>> rs.get_ai_response("How are you?")
['Fine, and you?']
Functions available:
The current list of functions available are:
get_joke(_type = "any") # Refer to https://api.pgamerx.com/
get_image(_type = "any") # for all the endpoints
get_ai_response(msg)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prsaw-0.1.0.tar.gz
(3.0 kB
view hashes)