Python SDK for Rask API

Python SDK

Rask API is language-agnostic and can be used from any programming language that supports HTTP requests.

For Python developers, we provide an official SDK that makes integration easier and faster. It wraps Rask API endpoints in a clean, asynchronous Python client that simplifies authentication, request construction, and response handling - while still giving you full access to the power of the underlying API.


SDK Repository Supported Python Versions API documentation
github.com/braskai/rask-sdk Python 3.8 and above docs.api.rask.ai

Easy Installation

Install the SDK directly from our public GitHub repository using any Python package manager.

You can find an example of how to do this using pip or poetry in the README.

Backward Compatibility

We maintain stable interfaces across SDK versions.

Any newly added functionality is versioned carefully, and deprecated methods are clearly marked - so your existing integrations remain unaffected.

Authentication Made Easy

The SDK includes built-in refresh token logic, handled automatically through RaskSDKClient.

So you only need to initialize the client and do not have to include refresh token logic in your code:

from rask_sdk import clients
client = clients.RaskSDKClient(
    client_id="your_client_id",
    client_secret="your_client_secret"
)

However, you can also optionally call .authenticate() manually to manage tokens yourself if you want to.

Get your API credentials

  • Make sure you have an active subscription (https://www.rask.ai/pricing)
  • Follow this guide to retrieve your API credentials from account settings

Note: The API endpoints and SDK functionality you can access correspond to the features included in your current plan.

Need Help?

If you have any questions about using the SDK or the Rask API, feel free to reach out to us at api@rask.ai