Java sdk
Eka Care Ekascribe Java SDK Integration
This guide explains how to integrate the Eka Care Ekascribe Java SDK.
Overview
Eka Care provides an Ekascribe service that allows you to transcribe audio files into structured medical data. The Java SDK simplifies this integration process.
Quick Start
The integration process follows these main steps:
- Set up webhook registration (one-time setup)
- Install the SDK
- Implement authentication
- Upload audio files
- Process the webhook callback
- Retrieve and parse the Ekascribe results
Prerequisites
- Java 8 or higher
- Maven or Gradle for dependency management
- Client credentials (client ID and secret) from Eka Care
Installation
You can add the Eka Care Java SDK to your project in two ways:
Option 1: Using dependency management
Maven
Gradle
Option 2: Direct download
Download the Eka Java SDK from Maven repository Here
Step 1: Register Webhook (One-time Setup)
Before using the Ekascribe service, register a webhook to receive notifications when transcription is complete:
Step 2: Authentication
Initialize the client with your credentials and obtain access tokens:
Step 3: Upload Audio Files
Upload audio files for transcription:
Step 4: Handle Webhook Callback
When the transcription is complete, Eka Care will send a webhook notification to your registered endpoint. Here’s a sample of what you’ll receive:
Step 5: Retrieve Ekascribe Results
After receiving the webhook notification, retrieve the transcription results:
Complete Example
Here’s a complete example integrating all the above steps:
Additional Resources
- Eka Care Java SDK Examples Repository
- Eka Care Developer Documentation
- API Reference for Webhooks
- API Reference for Ekascribe
Troubleshooting
Common Errors
- Authentication Failed: Verify your client ID and secret are correct
- File Upload Failed: Ensure file paths are valid and files are readable
- Webhook Not Received: Check your endpoint is publicly accessible and correctly registered
Support
For additional support, contact the Eka Care developer support team at support@eka.care.