Skip to content

Axosoft/glo-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

Packages

 
 
 

Contributors