vomyrasdk
v1.0.112
Published
Real-time Conversations Across Industries in Hindi and Multiple Indian Languages
Maintainers
Readme
📦 Vomyra (SDK)
🚀 Introduction
This library is a powerful SDK that helps developers easily integrate voice ai into their applications.
📥 Installation
Install via NPM:
Getting an API Key
🔑 To access the Vomyra API you will need a Vomyra API Key.
npm i vomyrasdk
Import & Initialize the Client
const Vomyrasdk = require("vomyrasdk");
// Initialize with your API Key const client = new Vomyrasdk("your-api-key-here");
API Methods
Check Available Credits
const credits = await client.checkCredit();
Initialize a Socket Connection
const type = "deepgram"; // deepgram, azure and so on. const socketResponse = await client.SocketInitiate(type);
Get Available Device Types
const deviceTypes = client.getDeviceType(); console.log("Supported Device Types:", deviceTypes);
Environment Variables
Before using the SDK, create a .env file in your project root:
API_KEY=your_api_key_here
Support
If you encounter any issues, feel free to contact us on [email protected].
