YARSAW is an Async Python API Wrapper for the Random Stuff API.

Overview

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.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

Make sure to read the docs at https://namantech.me/yarsaw.

Contributing

To contribute, fork the repo, make your changes, then start a Pull Request in the repo.

To-Do

  • Add docstrings to functions in client
Issues
Releases(2.0)
  • 2.0(Jan 8, 2022)

    This is a major change! As many of you might know, Random Stuff API went though a major change - including shifting completely to RapidAPI to make payment and development easier. However, YARSAW updated its build accordingly to welcome the change. And now, working with YARSAW is better than ever because otherwise, working with the API would be very hard.

    Changes

    Aside from the functions being rewritten, some more changes are:

    • Docs were updated
      • Uses the ReadTheDocs theme for documentation
      • The documentation is no longer a single page, but a collection of pages.
    • Since the API now has more use of headers than ever (it returns the number of daily requests left), all methods return headers along with other data.
    • The Client class has one for initial parameter for the RapidAPI Key,
    • The generate_uid and format_joke methods are no longer async - them being async was useless.
    • New Docstrings and comments
    • RawClient was terminated.

    And much more!

    Full Changelog: https://github.com/BruceCodesGithub/yarsaw/compare/1.3...2.0

    Source code(tar.gz)
    Source code(zip)
  • 1.3(Dec 12, 2021)

    Changes

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

    This is a major release because it uses dataclasses and objects and makes working with the API way easier. Also fixes a lot of mistakes.

    Source code(tar.gz)
    Source code(zip)
  • 1.2(Nov 14, 2021)

    1.2

    A new stable version for YARSAW

    Changes

    • 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.

    Full Changelog: https://github.com/BruceCodesGithub/yarsaw/compare/1.0.1...1.2

    Source code(tar.gz)
    Source code(zip)
  • 1.0.1(Nov 9, 2021)

    Backend changes

    (No need to update docs)

    • Moved constants to utils.py
    • Make a single client session in HTTPClient
    • Fixed mistake - said "yes" when API key was not provided
    • Renamed private vars from __var__ format to _var format.
    • Readme.md updates
    Source code(tar.gz)
    Source code(zip)
  • stable(Nov 9, 2021)

Owner
Bruce
My name is Bruce and I like to code in python and am learning some new languages
Bruce
Async ready API wrapper for Revolt API written in Python.

Mutiny Async ready API wrapper for Revolt API written in Python. Installation Python 3.9 or higher is required To install the library, you can just ru

null 17 Jan 6, 2022
Mixcloud API wrapper for Python and Async IO

aiomixcloud Mixcloud API wrapper for Python and Async IO aiomixcloud is a wrapper library for the HTTP API of Mixcloud. It supports asynchronous opera

Aristotelis Mikropoulos 23 Dec 8, 2020
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and await

Senpai Development 4 Nov 5, 2021
A modern,feature-rich, and async ready API wrapper for Discord written in Python

discord.io A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using asyn

Vincent 1 Nov 11, 2021
An async python wrapper to interact with the Steam API and its CMs

steam.py A modern, easy to use, and async ready package to interact with the Steam API. Heavily inspired by discord.py and borrowing functionality fro

James Hilton-Balfe 55 Jan 10, 2022
An async-ready Python wrapper around FerrisChat's API.

FerrisWheel An async-ready Python wrapper around FerrisChat's API. Installation Instructions Linux: $ python3.9 -m pip install -U ferriswheel Python 3

FerrisChat 7 Jan 2, 2022
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

disfork A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async a

null 1 Jan 10, 2022
This is a simple unofficial async Api-wrapper for tio.run

Async-Tio This is a simple unofficial async Api-wrapper for tio.run

Tom-the-Bomb 6 Sep 10, 2021
A modern, easy to use, feature-rich, and async ready API wrapper improved and revived from original discord.py.

A Python API wrapper that is improved and revived from the original discord.py

Orion 19 Nov 6, 2021
Async wrapper over hentaichan.live

hentai-chan-api-async is a small asynchronous parser library that will allow you to easily use manga from https://hentaichan.live Recommended to use python3.7+

null 2 Jan 19, 2022
Random-backlog-tweet - Pick a page from a sitemap at random and prep a tweet button for it

Random-backlog-tweet - Pick a page from a sitemap at random and prep a tweet button for it

Paul O'Leary McCann 1 Jan 17, 2022
πŸš€ An asynchronous python API wrapper meant to replace discord.py - Snappy discord api wrapper written with aiohttp & websockets

Pincer An asynchronous python API wrapper meant to replace discord.py ❗ The package is currently within the planning phase ?? Links |Join the discord

Pincer 96 Jan 12, 2022
Use an air-gapped Raspberry Pi Zero to sign for Bitcoin transactions! (and do other cool stuff)

Hello World! Build your own offline, airgapped Bitcoin transaction signing device for less than $35! Also generate seed word 24 or generate a seed phr

null 205 Jan 12, 2022
Async client API for the Telegram Group Calls

PyTgCalls This project allow to make Telegram group call with MTProto Api using Pyrogram and WebRTC, this is possible thanks to the power of NodeJS's

null 122 Jan 7, 2022
Revolt.py - An async library to interact with the https://revolt.chat api.

Revolt.py An async library to interact with the https://revolt.chat api. This library will be focused on making bots and i will not implement anything

Zomatree 28 Jan 14, 2022
Powerful and Async API for AnimeWorld.tv πŸš€

Powerful and Async API for AnimeWorld.tv ??

null 1 Nov 13, 2021
Discord-Wrapper - Discord Websocket Wrapper in python

This does not currently work and is in development Discord Websocket Wrapper in

null 2 Jan 9, 2022
Async ShareX uploader written in python

Async ShareX uploader written in python

Jacob 2 Jan 7, 2022
Python async SDK for betsapi.com

Python async SDK for betsapi.com

null 1 Dec 21, 2021