Skip to main content

PRSAW, an acronym for `Python Random Stuff API Wrapper`, is a wrapper for the Random Stuff API.

Project description

PRSAW 0.1.1

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.1.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page