@pliancy/api-sdk
TypeScript icon, indicating that this package has built-in type declarations

4.4.0 • Public • Published

SDK for the Pliancy API

Currently Supported

  • Customers

    • getCustomers
    • getCustomerById
    • updateCustomer
  • Users

    • getUsersByCustomerId
  • Apps

    • getApps

Install

# Yarn
yarn add @pliancy/api-sdk

# npm
npm install @pliancy/api-sdk

Usage

// environment defaults to dev. Pass 'prod' as the second argument for producton
import { Customer } from '@pliancy/api-sdk'

const api = new PliancyApi('myApiKey')
const customers: Customer[] = await api.getCustomers()

Test

yarn test
# or
yarn test.watch

Test Coverage

yarn test.cov
# then
yarn cov.view

Readme

Keywords

none

Package Sidebar

Install

npm i @pliancy/api-sdk

Weekly Downloads

371

Version

4.4.0

License

UNLICENSED

Unpacked Size

24 kB

Total Files

26

Last publish

Collaborators

  • santese
  • pliancy-bot
  • justin.pliancy