Python
The Python SDK requires Python 3.10 or higher.
Install
Create a virtual environment and install the SDK:
To verify the installation:
Set your API key as an environment variable and reference it in your code:
Never hardcode your API key directly in your code. Always use environment variables or a secrets manager.
For more information, see the Python SDK on GitHub.
JavaScript
The JavaScript SDK supports Node.js and modern JavaScript environments using ES modules.
Install
For more information, see the JavaScript SDK on GitHub and the npm package.
Install
For more information, see the Go SDK on GitHub and the Go package documentation.
Use the SDKs
For detailed examples of how to use the SDKs to interact with Serverless endpoints, see Send API requests.
Next steps
Once you’ve installed and configured the SDK, you’re ready to send requests to your Serverless endpoints: