monobank-api-client
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "monobank-api-client", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Simple Monobank API client", | ||
@@ -43,3 +43,3 @@ "main": "index.js", | ||
"chai": "4.0.2", | ||
"eslint": "4.0.0", | ||
"eslint": ">=4.18.2", | ||
"eslint-config-prettier": "^4.1.0", | ||
@@ -46,0 +46,0 @@ "eslint-plugin-prettier": "^3.0.1", |
@@ -21,10 +21,8 @@ # NodeJS Monobank API client | ||
``` | ||
```javascript | ||
const { MonobankApi } = require('monobank-api-client'); | ||
const api = new MonobankApi( | ||
{ | ||
token: 'YOUR_API_TOKEN', | ||
} | ||
); | ||
const api = new MonobankApi({ | ||
token: 'YOUR_API_TOKEN', | ||
}); | ||
@@ -38,3 +36,3 @@ // promise resolved with CurrencyInfo[] | ||
// promise resolved with Transaction[] | ||
api.getStatement({ account: 'ACCOUNT_ID', from: new Date('2019-06-01'), to: new Date('2019-06-28')}); | ||
api.getStatement({ account: 'ACCOUNT_ID', from: new Date('2019-06-01'), to: new Date('2019-06-28') }); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12184
37