Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.35 KB

README.md

File metadata and controls

54 lines (34 loc) · 1.35 KB

RavyAPI.py

According to an update from Hazel, the Ravy API will no longer be in operation. The maintenance status of this library is currently in jeopardy.

PLEASE NOTE THIS IS STILL IN HEAVY DEVELOPMENT AND VERY UNSTABLE DUE TO LACK OF TESTING CURRENTLY

A simple and dynamic asynchronous Python wrapper for the Ravy API.

Features

  • Easy usability
  • 100% API coverage
  • Unit tested (soon™️)
  • Pyright type compatible

Installation

  • Compatible with Python 3.8+
  • Not yet available on PyPI
python3 -m pip install git+https://github.com/GoogolGenius/RavyAPI.py

Usage

# Import required packages
import asyncio

import ravyapi


async def main() -> None:
    # Construct a ravyapi client object
    client = ravyapi.Client("token")  # Replace "token" with your API key

    # Make a simple request to get token information
    token_info = await client.tokens.get_token()
    print(token_info.token_type)  # Print the token type: "ravy" | "ksoft"

    # Close and teardown the client
    await client.close()


# Start the event loop and run the main function
asyncio.run(main())

Contributing

Feel free to create pull requests and issues. Just be civil, kind, and respectful.

This is my first library, so if you have any suggestions or questions, please let me know! Reach out via GitHub Issues or Discord @googolgenius.