SDK & CLI
Official libraries and tools for integrating with the codmir API.
Official SDKs
π¦
TypeScript SDK
TypeScript / JavaScript
@codmir/sdkv1.2.0π
Python SDK
Python 3.8+
codmirv0.9.0Installation
# npm
npm install @codmir/sdk
# yarn
yarn add @codmir/sdk
# pnpm
pnpm add @codmir/sdkimport { CosmirClient } from '@codmir/sdk';
const client = new CosmirClient({
apiKey: process.env.CODMIR_API_KEY,
});
// TypeScript: Full type safety and autocompletion
const projects = await client.projects.list({
limit: 10,
status: 'active',
});Command Line Interface
overseer CLI
Manage your projects and tickets from the terminal.
Installation
# Install globally via npm
npm install -g @codmir/cli
# Or use npx
npx @codmir/cliQuick Start
# Authenticate
overseer login
# List projects
overseer projects list
# Create a ticket
overseer ticket create --project my-project --title "Bug fix"
# View ticket details
overseer ticket show PROJ-123SDK Features
π Type Safety
Full TypeScript definitions for all API responses and parameters.
π Auto-retry
Automatic retry with exponential backoff for failed requests.
π Pagination
Built-in pagination helpers and async iterators.
π¦ Rate Limiting
Automatic rate limit handling with configurable behavior.