1.0.3 • Published 5 years ago
@itfin/rest
Licence
ISC
Version
1.0.3
Deps
3
Size
23 kB
Vulns
23
Weekly
0
ITFin REST
ITFin REST API client for Browser and Node.js
Usage
| Node | Install with
|
|---|
Examples
More examples of usage you can find in examples folder.
Client Options
You can set the APIs' baseUrl and modify some behaviors (e.g. request timeout etc.) by passing a clientOptions object to the Application constructor.
const secretKey = '...';
const secretToken = '...';
const clientOptions = {
baseUrl: 'https://app.itfin.io',
requestTimeout: 15000,
requestsPerSecond: 2,
debug: false
}
const app = new Application(secretKey, secretToken, clientOptions)