npm.io
1.0.2 • Published 7 years ago

gabut-api

Licence
MIT
Version
1.0.2
Deps
3
Size
6 kB
Vulns
1
Weekly
0
Stars
2

Gabut-Api

JavaScript Style Guide

Just personal project for access private Gabut App API

Example

Get item in stream feed:

const Gabut = require('gabut-api')

async function main () {
  const gabut = new Gabut()
  await gabut.auth({ username: 'YourUsername', password: 'YourPassword' })

  // get stream feeds (return promise object of getStream response)
  const feeds = await gabut.getStream()
  console.log(feeds)
}

main ()

Get user profile:

const user = await gabut.getProfile(12) // default param is own accountId

For More feature check the code of lib/index.js

This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Gabut App or any of its affiliates or subsidiaries. Use at your own risk.