@gyselroth/tubee-sdk-node
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

tubee node.js SDK with typescript support

Build Status GitHub release npm GitHub license

Provides a node.js SDK for tubee. Including typescript definition.

Note This SDK is mostly generated from the tubee OpenAPI specs.

Install

npm install --save @gyselroth/tubee-sdk-node

Usage

Example request

const { CoreV1Api, HttpBasicAuth} = require('@gyselroth/tubee-sdk-node');

var server = 'https://localhost:8090';
var sdk = new CoreV1Api(server);
var basic = new HttpBasicAuth();
basic.username = 'admin';
basic.password = 'admin';
sdk.setDefaultAuthentication(basic);

sdk.getNamespaces().then((response) => {
  console.log(response.body);
}).catch((error) => {
  console.log(error);
});

Readme

Keywords

Package Sidebar

Install

npm i @gyselroth/tubee-sdk-node

Weekly Downloads

10

Version

1.2.3

License

MIT

Unpacked Size

1.03 MB

Total Files

9

Last publish

Collaborators

  • laura.kohli
  • dragan.jevdjovic
  • dragoljub.popovic
  • ovidio.raimondi
  • ewald.kleefstra
  • mahmoud.sino
  • marius.weber
  • pixtron
  • npm-gyselroth
  • mmhann
  • philippenahlik
  • grfreelancer1
  • grfreelancer2
  • luca.marra
  • s-aebischer