@epilot/entity-client
v6.11.4
Published
JavaScript client library for the epilot Core Entity API
Downloads
9,713
Maintainers
Readme
@epilot/entity-client
Client library for epilot Entity API
Uses openapi-client-axios
Installation
npm install --save @epilot/entity-clientUsage
import { getClient } from '@epilot/entity-client';
const entityClient = getClient();
const createResponse = await entityClient.createEntity({ slug: 'contact' }, { first_name: 'Example', last_name: 'Entity' });
const getResponse = await entityClient.getEntity({ slug: 'contact', id: createResponse.data._id });Documentation
https://docs.epilot.io/docs/entities/entity-api
