unofficial nodejs gojek api
using yarn
yarn add gojek-apiusing npm
npm i gojek-apiusing 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)