SDKs
Official Canvelete SDKs for popular languages and frameworks.
Available SDKs
- Python – Official Python SDK
- C# – Official .NET SDK
- Java – Official Java SDK
- JavaScript – Official Node.js SDK
- TypeScript – Official TypeScript SDK
Why Use SDKs?
- Type Safety – Full TypeScript/type definitions
- Error Handling – Built-in retry logic and error types
- Authentication – Automatic API key management
- Validation – Request validation before sending
- Documentation – IntelliSense and autocomplete support
Installation
Each SDK is available through standard package managers:
# Python
pip install canvelete
# C#
dotnet add package Canvelete.SDK
# Java (Maven)
<dependency>
<groupId>com.canvelete</groupId>
<artifactId>canvelete-sdk</artifactId>
</dependency>
# JavaScript/TypeScript
npm install @canvelete/sdkBasic Usage
All SDKs follow similar patterns:
# Python example
from canvelete import Canvelete
client = Canvelete(api_key="cvt_YOUR_API_KEY")
result = client.render(
design_id="abc123",
format="png",
dynamic_elements={
"title": {"text": "Hello World"}
}
)
print(result.image_url)REST API Alternative
If an SDK isn't available for your language, use the REST API directly.
Contributing
SDKs are open source. Contribute on GitHub (opens in a new tab).