@soniox/client
v1.0.2
Published
Official Soniox SDK for client-side applications
Readme
@soniox/client
Official Soniox Web SDK for client-side applications.
Installation
npm install @soniox/clientQuick Start
import { SonioxClient } from '@soniox/client';
// Create a client and fetch temporary API key from your backend
const client = new SonioxClient({
api_key: async () => {
const res = await fetch('/api/get-temporary-key', { method: 'POST' });
const { api_key } = await res.json();
return api_key;
},
});For the full documentation please go to our docs: Full Web SDK Documentation
