Skip to main content

An async wrapper for the Random Stuff API

Project description

Yet Another Random Stuff API Wrapper - YARSAW

YARSAW is an Async Python API Wrapper for the Random Stuff API. This module makes it simpler for you to interact with the API and is easy to implement into your application.

Make sure to get an API Key from here before trying to access this module.

Changes

1.3

(stable)

  • The Client class now returns objects which are easier to work with.
  • RawClient class can be used ot return the raw JSON response from the API.

1.2

(stable)

  • Updated Docs - now view it here
    • Uses ReadTheDocs.
    • Uses Sphinx instead of MKDocs
    • Updated the docs to be more readable.
    • Is updated automatically with docstrings.
    • Covers all the methods. Fixed minor mistakes.
  • Created a Utils class, added format_joke() and generate_uid() to the Utils.
  • Added docstrings to all the methods.
  • Better code style.
  • Updated many other things.

1.0

(stable)

  • Updated docs

  • Renamed functions in Client()

    • ai -> get_ai_response()
    • joke -> get_joke()
    • fact -> get_fact()
    • waifu -> get_waifu()
    • image -> get_image()
    • covid -> get_covid_stats()
    • weather -> get_weather()
  • Added new function generate_uid()

  • Many more changes

Documentation

Read the Documention here

Contributing

To contribute, fork the Official Repository and make a pull request.

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

yarsaw-1.3.0.tar.gz (9.5 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