# gabut-api

> Gabut private api written in JS

Latest version **1.0.2** (published 2019-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install gabut-api
pnpm add gabut-api
yarn add gabut-api
bun add gabut-api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-08-20 |
| First published | 2019-04-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Aldi Nugraha |
| Maintainers | aldinp16 |

## Links

- npm: https://www.npmjs.com/package/gabut-api
- Repository: https://github.com/aldinp16/gabut-api
- Homepage: https://github.com/aldinp16/gabut-api#readme
- Issues: https://github.com/aldinp16/gabut-api/issues
- npm.io page: https://npm.io/package/gabut-api

## Dependencies (3)

- [request](https://npm.io/package/request.md) ^2.87.0
- [request-promise](https://npm.io/package/request-promise.md) ^4.2.2
- [random-useragent](https://npm.io/package/random-useragent.md) ^0.3.1

## Recent versions

- 1.0.2 (latest) — 2019-08-20
- 1.0.1 — 2019-08-19
- 1.0.0 — 2019-07-22
- 0.0.4 — 2019-07-17
- 0.0.3 — 2019-04-23
- 0.0.2 — 2019-04-06
- 0.0.1 — 2019-04-06

## README

# Gabut-Api
[![JavaScript Style Guide](https://cdn.rawgit.com/standard/standard/master/badge.svg)](https://github.com/standard/standard)

Just personal project for access private  [Gabut App](https://play.google.com/store/apps/details?id=lagi.gabut.inc) API

## Example
Get item in stream feed:
```js
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:
```js
const user = await gabut.getProfile(12) // default param is own accountId
```
For More feature check the code of `lib/index.js`
## Link
* [random-useragent](https://github.com/skratchdot/random-useragent) 
* [request](https://github.com/request/request)
* [request-promise](https://github.com/request/request-promise)

## Legal
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.

---
_Source: https://npm.io/package/gabut-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
