1.0.2 • Published 2 years ago
bog-token v1.0.2
Introduction
Library for retrieving and Bank of Georgia API token
Code Samples
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();
})();List of functions
| Functions | Description |
|---|---|
getBOGToken() | Function to retrieve the token |
Installation
NPM:
npm install bog-tokenYarn:
yarn add bog-token