npm.io
1.0.5 • Published 3 years ago

novum-cloud-api-client

Licence
ISC
Version
1.0.5
Deps
9
Size
137 kB
Vulns
0
Weekly
0

This is the Novum API client library for js and ts.

Installation

```bash
   npm install novum-cloud-api-client

   yarn add novum-cloud-api-client

Usage

import { APIClient } from 'novum-cloud-api-client';

const apiClient = new APIClient();

(async () => {
  try {
    await apiClient.login('YourEMail', 'YourPassword');

    const batteryTypes = await apiClient.getBatteryTypes();
    console.log(batteryTypes);

  } catch (e) {
    console.error(e);
  }
})();

Keywords