Kotlin 🟣

The official Kotlin client for the CardScan API provides a type-safe interface with coroutine support for Android and JVM applications.

Installation

Gradle (Kotlin DSL)

dependencies {
    implementation("com.cardscan:api:1.0.0")
}

Gradle (Groovy)

dependencies {
    implementation 'com.cardscan:api:1.0.0'
}

Maven

<dependency>
    <groupId>com.cardscan</groupId>
    <artifactId>api</artifactId>
    <version>1.0.0</version>
</dependency>

Basic Usage

Card Scanning Workflow

1. Create a Card

2. Generate Upload URL

3. Upload Image

4. Poll for Results

Error Handling

Android Integration

Camera Capture

WebSocket Support

Eligibility Verification

Jetpack Compose Integration

Configuration

Testing

Source Code

View the source code and contribute: GitHub

Last updated

Was this helpful?