@epilot/entity-client
TypeScript icon, indicating that this package has built-in type declarations

4.21.0 • Public • Published

@epilot/entity-client

CI npm version bundle size License

Client library for epilot Entity API

Uses openapi-client-axios

Installation

npm install --save @epilot/entity-client

Usage

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

Readme

Keywords

Package Sidebar

Install

npm i @epilot/entity-client

Weekly Downloads

1,321

Version

4.21.0

License

MIT

Unpacked Size

550 kB

Total Files

14

Last publish

Collaborators

  • aleksandr.lapushkin
  • manikandan.subramanian
  • jakub.duras.epilot
  • mp-polarsquad
  • mateus.nardo
  • diogo.f.marques
  • praneetro
  • epilot-keremnalbant
  • rossepilot
  • kate.astrid
  • juan.villamizar
  • j.carneiro
  • sebas.sauer
  • wmolinari
  • vladcrishan
  • alexmarqs
  • mohammadjd
  • julian01
  • daniel-bot.epilot
  • a.kedia
  • sureshkumars
  • dusty48
  • paulo.henriques
  • mohannad7
  • epilot-dev-tools
  • nishugoel
  • sumanth.kanakala
  • anttiviljami
  • j.pinho