TypeScript/JavaScript SDK for Ringer teliport
Installation
npm install @ringer-tel/teliport
Documentation
The SDK for ringer teliport provides a convenient way to interact with the API from your TypeScript/JavaScript application.
Authentication
This API uses IP whitelist authentication. Ensure your server IP is whitelisted before making requests.
Basic Usage
import { RingerTeliportClient } from '@ringer-tel/teliport';
const client = new RingerTeliportClient({
// Config options
// No auth needed for IP-whitelisted clients
basePath: 'https://api.ringer.tel/v1'
});
// Example API call
async function main() {
try {
const response = await client.someEndpoint();
console.log(response);
} catch (error) {
console.error('Error:', error);
}
}
main();