@axosoft/glo-sdk
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @axosoft/glo-sdk

Weekly Downloads

5

Version

2.0.0

License

MIT

Unpacked Size

46.8 kB

Total Files

18

Last publish

Collaborators

  • gk-dev
  • axosoft-dev