@axonize/api
v0.8.6
Published
Axonize API client library
Downloads
49
Readme
axonize-api-js
Installation
$ npm install @axonize/api
Or
$ yarn add @axonize/api
Example Usage
const {AxonizeApiClient} = require('@axonize/api');
const api = new AxonizeApiClient({clientId: YOUR_CLIENT_ID, clientSecret: YOUR_CLIENT_SECRET});
await api.devices.getDevices()
Development Setup
Add a local file in the directory root '.env' to setup your dotenv environment variables
# .env
# Axonize API Client dotenv environment variables
clientId=CLIENT_ID
clientSecret=CLIENT_SECRET
internalApiKey=INTERNAL_API_KEY
apiUrl=AXONIZE_API_URL_LIKE_http://api.dev.axonize.com/
testTimeout=60000
Test
$ yarn test