@navoio/warehouse
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

Navo Warehouse JS Client Actions Status

JavaScript and Node client for accessing Navo Warehouse data.

Install

yarn add @navoio/warehouse
# or
npm install @navoio/warehouse

Authentication

import { NavoClient } from '@navoio/warehouse';

// Option 1- pass credentials into constructor
const client = new NavoClient(apiUrl, 'client-id', 'api-key');

// Option 2- call authorize() manually
const client = new NavoClient(apiUrl);
client.authorize('client-id', 'api-key');

Jobs

Get all active jobs:

const jobs = await client.jobs.getAll();

Get a single job by job id:

const job = client.jobs.get(1);

Readme

Keywords

none

Package Sidebar

Install

npm i @navoio/warehouse

Weekly Downloads

0

Version

0.5.1

License

MIT

Unpacked Size

7.97 kB

Total Files

12

Last publish

Collaborators

  • fotijr