https://github.com/axosoft/glo-sdk
JavaScript SDK for GitKraken Glo
https://github.com/axosoft/glo-sdk
javascript jest node nodejs sdk task-management task-manager tasks typescript
Last synced: 9 months ago
JSON representation
JavaScript SDK for GitKraken Glo
- Host: GitHub
- URL: https://github.com/axosoft/glo-sdk
- Owner: Axosoft
- License: mit
- Created: 2018-09-22T18:13:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:35:02.000Z (about 3 years ago)
- Last Synced: 2025-03-21T20:04:14.856Z (10 months ago)
- Topics: javascript, jest, node, nodejs, sdk, task-management, task-manager, tasks, typescript
- Language: TypeScript
- Homepage: https://app.gitkraken.com/glo
- Size: 257 KB
- Stars: 8
- Watchers: 8
- Forks: 5
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitKraken Glo JavaScript SDK

[](https://travis-ci.org/Axosoft/glo-sdk)


GitKraken Glo API [documentation](https://gloapi.gitkraken.com/v1/docs)
## 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.
```javascript
// 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);
}
```