nordnet-unofficial-api
v0.0.3
Published
Unofficial API for Nordnet
Downloads
1
Readme
Nordnet API
Unofficial Node.js API for Swedish Nordnet.
Install
$ npm install nordnet-unofficial-api
supported functionality
Login
import { Nordnet } from 'nordnet-unofficial-api';
const nordnet = new Nordnet();
await nordnet.login('username', 'password');
Get accounts
// ...
const accounts = await nordnet.get_accounts();
console.log(accounts);
Get account information
// ...
const account = await nordnet.get_account(account_id);
console.log(account);
Get weekly/monthly/yearly performance
// ...
const accountPerformance = await nordnet.get_performance({ account_id, period: 'week' });
const totalPerformance = await nordnet.get_performance({ aggregate: true, period: 'month' });