sideko
sideko copied to clipboard
Generate SDKs and docs for your API
Accelerate API Adoption
Generate SDKs for your API
From OpenAPI 3.x specifications to SDK repos with types, tests, authentication, and code snippets in seconds!
| Language | Supported |
|---|---|
| Python | ✅ |
| Ruby | ✅ |
| Go | ✅ |
| Typescript | ✅ |
| Rust | ✅ |
| C# | 🚧 |
| Java | 🚧 |
| Feature | Supported |
|---|---|
| All Auth | ✅ |
| Native Types | ✅ |
| Tests | ✅ |
| Form data | ✅ |
| Files | ✅ |
| Websockets | 🚧 |
| Graphql | 🚧 |
Installation
Install via curl (macOS, Linux, Windows w/ WSL)
curl -fsSL https://raw.githubusercontent.com/Sideko-Inc/sideko/main/install.sh | sh
OR
Install via pip
pip install sideko-py
Usage
Login
You need a Sideko API Key to generate SDKs. Create one for free by either:
- Signing up / logging in via the CLI, or
- Signing up / logging in at app.sideko.dev (
User Icon > API Keys)
sideko login
# Complete login via browser pop-up
Run sideko login --help to list all options.
The API key is read from (in order of priority):
$PWD/.sideko$HOME/.sidekoSIDEKO_API_KEYenvironment variable
Generate
sideko generate https://raw.githubusercontent.com/Sideko-Inc/sideko/main/sideko_openapi.yaml python
- The OpenAPI source can be a path to a local
.jsonor.yamlfile, a URL, or the raw spec as a string. - Language options:
python,typescript,ruby,rust, orgo
Run sideko generate --help to list all options.
Excited about the project?
Reach us at [email protected]
Reference
- License
- Issues