0.1.0 • Published 2 years ago

@epilot/epilot-sdk v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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