continuum-sdk
v1.1.2
Published
A Javascript SDK for VersionOne Continuum
Downloads
5
Readme
Continuum SDK
A Javascript SDK for VersionOne Continuum
Clone from Github
git clone https://github.com/agguzman/continuum-sdk
Install via NPM
npm install continuum-sdk
Axios example
import sdk, { axiosConnector } from 'continuum-sdk/dist';
import axios from 'axios';
const axiosConnectedSdk = axiosConnector(axios)(sdk);
const ctm = axiosConnectedSdk('localhost', 8080, 'http')
// .withCreds('<USERNAME>', '<PASSWORD>');
.withToken('<TOKEN>');
ctm.create('project', {name: 'My First Project'})
.then(response => console.log)
.catch(error => console.log);