0.0.7 • Published 3 years ago

@rackn/digitalrebar-api v0.0.7

Weekly downloads
-
License
APLv2
Repository
-
Last release
3 years ago

@rackn/digitalrebar-api

Provides a basic TypeScript API wrapper over RackN Digital Rebar. This API was generated by .

Install

npm i @rackn/digitalrebar-api

Importing

Node:

const DRApi = require('@rackn/digitalrebar-api');

ES6:

import DRApi from '@rackn/digitalrebar-api';

Usage

const drp = new DRApi('my-endpoint');

// authenticate with a token
drp.setToken('my-token');

// or, authenticate with a username and password
drp.setLogin('username', 'password');

// ...

const cluster: DRMachine = { ... };
await drp.clusters.create(cluster);
4.13.0

2 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago