Evaluate a call using Python
The Python SDK is continually evolving, with new endpoints being added for notifications, events, and more. Stay tuned for updates!
The Roark Python SDK provides a streamlined way to interact with the Roark API. This guide will help you quickly set up the SDK and start analyzing call recordings in your application.
Before you begin, ensure you have:
Choose your preferred package manager:
Import the SDK
Initialize the Client
Replace YOUR_ROARK_API_KEY
with your actual API key from Roark, or use an environment variable: bearer_token=os.environ.get("ROARK_API_BEARER_TOKEN")
Create an evaluation job for one or many calls
You can find the evaluator slug from the Evaluators section on the dashboard. Or you can use all to evaluate with all available evaluators.
You're All Set
That’s it! You can now use the SDK to create evaluations
Explore our comprehensive API documentation
View example implementations and use cases
View package details and stats on PyPI
Browse the source code and contribute