CONNECTOR SDK
Install the SDK
The Mediloop Connector SDK is available for Node.js, Python, and .NET. Choose your language and follow the instructions to install the SDK and its dependencies.
You need a Mediloop account and an API key to use the SDK. Get your API key →
Installation Overview
1. Install SDK
Install the package using your preferred package manager.
2. Configure
Add credentials and environment configuration.
3. Initialize
Create a client instance and connect.
4. Verify
Check connectivity and you're ready to go.
Node.jsPython.NET
1. Install the package
Using npm:
bashCopy
npm install @mediloop/connector-sdkUsing yarn:
bashCopy
yarn add @mediloop/connector-sdkUsing pnpm:
bashCopy
pnpm add @mediloop/connector-sdk2. Configure credentials
Set your credentials using environment variables:
bashCopy
export MEDILOOP_BASE_URL="https://api.mediloop.com"
export MEDILOOP_API_KEY="your_api_key"
export MEDILOOP_TIMEOUT="30000"
export MEDILOOP_LOG_LEVEL="info"You can also configure programmatically. See examples below.
3. Initialize the client
Node.js (ESM)Node.js (CommonJS)Python.NET
typescriptCopy
import { MediloopClient } from '@mediloop/connector-sdk';
const client = new MediloopClient({
baseUrl: process.env.MEDILOOP_BASE_URL,
apiKey: process.env.MEDILOOP_API_KEY,
timeout: 30000,
logLevel: 'info',
});
await client.health.get();4. Verify installation
Run a simple health check to verify your installation:
typescriptCopy
const health = await client.health.get();
console.log(health.status);
// expected output: "healthy"Great! You're all set.
Continue to the next step or explore more examples.