Skip to content

gandol/gojek-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gojek-api

unofficial nodejs gojek api

Installing

using yarn

yarn add gojek-api

using npm

npm i gojek-api

Usage

using gojek api

const { GojekApi } = require('gojek-api')
const gojekApi = new GojekApi()

set the authorization token before make call to mostly all gojek endpoint

const token = "your_token_here" //without Bearer
gojekApi.setAuthHeader(token)

using gopay api

const { GopayApi } = require('gojek-api')
const token = "your_token_here" //without Bearer
const gopayApi = new GopayApi(token)

Releases

No releases published

Packages

No packages published