monobank-node
v0.0.2
Published
A wrapper for Monobank API
Downloads
3
Readme
NodeJS Monobank API Wrapper
Installation
$ yarn add monobank-node
OR
$ npm i monobank-node
Initialize
Go to https://api.monobank.ua/ and obtain token
import Monobank from 'node-monobank'
const monobank = new Monobank('YOUR TOKEN');
Methods
getCurrencyRates()
- returns currency rates as a promise. The information is cached and updated no more than once every 5 hours.getPersonalInfo()
- returns personal info and the list of accounts. Limit on the use of the function no more than 1 time in 60 seconds.getStatement({ from, to })
- returns a statement for the timefrom
toto
in UNIX time format. The maximum time for which it is possible to receive an statement is 31 days (2678400 seconds). Limit on the use of the function no more than 1 time in 60 seconds.