Library for retrieving and Bank of Georgia API token
Initialize bog-token instance
const BogToken = require("bog-token");
const bog = new BogToken("client id", "client secret key");
(async function () {
const [token, error] = await bog.getBOGToken();
})();
Functions | Description |
---|---|
getBOGToken() |
Function to retrieve the token |
NPM:
npm install bog-token
Yarn:
yarn add bog-token