epilot-sdk

Epilot SDK

Usage no npm install needed!

<script type="module">
  import epilotSdk from 'https://cdn.skypack.dev/epilot-sdk';
</script>

README

epilot-sdk

CI npm version bundle size License

JavaScript / TypeScript SDK for epilot

⚠️ DISCLAIMER!

The epilot SDK is in alpha. Missing features, incomplete documentation and breaking API changes are to be expected!

Quick Start

npm install --save epilot-sdk
import { authenticate } from 'epilot-sdk/auth';
import entityClient from 'epilot-sdk/entity-client';

const credentials = await authenticate({
  username: 'email@example.com',
  password: 'xxx',
});
credentials.configureClient(entityClient);

await entityClient.createEntity('contact', { fist_name: 'Example', last_name: 'Contact' });

Documentation

https://docs.epilot.io/docs/architecture/sdk