The official SDK for Render
Warning
Early Access: This SDK is in early access and subject to breaking changes without notice.
SDK support is provided for the following languages
| Language | README | Package |
|---|---|---|
| TypeScript | ./typescript | @renderinc/sdk |
| Python | ./python | render_sdk |
With the following features
| Feature | Python | TypeScript |
|---|---|---|
| REST API | ✔️ | ✔️ |
| Workflows | ||
| Object Storage |
To get started you'll need a couple things:
- A Render API Key
- The SDK for your language
To start, get the latest SDK from pypi
pip install render_sdk
# or
uv add render_sdk
# or
poetry add render_sdkThen initialize a SDK client with your API key
from render import Render
render = Render(token="rnd_...")You may also provide a RENDER_API_KEY environment variable instead of providing the key to the constructor.
For more detail see the Python SDK README
To start get the latest SDK from npm
npm i @renderinc/sdk
# or
pnpm add @renderinc/sdk
# or
yarn add @renderinc/sdkThen initialize a SDK client with your API key
import { Render } from "@renderinc/sdk";
const render = new Render({token: "rnd_..."})You may also provide a RENDER_API_KEY environment variable instead of providing the key to the constructor.
For more detail see the TypeScript SDK README
.
├── python/
│ ├── example
│ └── render_sdk
├── typescript/
│ ├── examples
│ └── src
├── openapi/
│ └── openapi.yaml # Local API Schema for Workflows
└── go/
├── example
└── pkg
For Python we support a minimum of 3.10, and use poetry to manage our dependecies - see more in our pyproject.toml
For TypeScript we support a minimum node version of 18.0.0 and use npm to manage our dependecies - see more in our package.json
To install pre-commit hooks, run:
pre-commit install
pre-commit autoupdateTo view workflow API documentation from the OpenAPI spec:
npx @redocly/cli preview-docs openapi/openapi.yaml