@pliancy/api-sdk
v4.20.0
Published
SDK wrapper for the Pliancy platform API
Readme
SDK for the Pliancy API
Currently Supported
Customers
getCustomersgetCustomerByIdupdateCustomer
Users
getUsersByCustomerId
Apps
getApps
Install
# Yarn
yarn add @pliancy/api-sdk
# npm
npm install @pliancy/api-sdkUsage
// 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.watchTest Coverage
yarn test.cov
# then
yarn cov.view