@axosoft/glo-sdk

JavaScript SDK for GitKraken Glo APIs

Usage no npm install needed!

<script type="module">
  import axosoftGloSdk from 'https://cdn.skypack.dev/@axosoft/glo-sdk';
</script>

README

GitKraken Glo JavaScript SDK

Build Status

GitKraken Glo API documentation

How to Use

Install

npm:

npm install -S @axosoft/glo-sdk

yarn

yarn add @axosoft/glo-sdk

Example Usage

You must pass in an auth token. All method calls return a promise, so you should properly handle errors with a .catch or a try/catch block if using async/await.

// Import options
const GloSDK = require('@axosoft/glo-sdk');
import GloSDK from '@axosoft/glo-sdk';


// Usage
GloSDK(authToken).boards.getAll()
  .then(boards => console.log(boards))
  .catch(error => console.error(error));

try {
  const boards = await GloSDK(authToken).boards.getAll();
} catch (error) {
  console.log(error);
}