Overview π¦
CardScan provides pre-built API clients for multiple programming languages to simplify integration with our platform. These clients are generated from our OpenAPI specification and provide type-safe interfaces for all API operations.
Available Clients
Installation
TypeScript/JavaScript
npm install @cardscan.ai/cardscan-client
# or
yarn add @cardscan.ai/cardscan-clientPython
pip install cardscan-clientSwift
Kotlin
Dart
Quick Start
All clients follow a similar pattern:
Initialize the client with your API key
Generate a session token for your user
Use the client to create cards, upload images, and retrieve results
Features
All API clients provide:
Type Safety: Strongly typed request and response objects
Authentication: Built-in handling of API keys and session tokens
Error Handling: Consistent error types and messages
Async Support: Modern async/await patterns (where applicable)
Auto-retry: Configurable retry logic for transient failures
Documentation: Inline documentation and code completion
Source Code
The API clients are open source and available at: https://github.com/CardScan-ai/api-clients
Custom Clients
If you need to generate a client for a language not listed above, you can use our OpenAPI specification with any OpenAPI code generator:
Last updated
Was this helpful?