Package Exports
- nordnet-api
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nordnet-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
nordnet-api
Nordnet.dk Unofficial API
Table of Contents
Install
npm install nordnet-apiUsage
Get instrument data
const Nordnet = require('nordnet-api');
const nordnet = new Nordnet("username", "password");
const instrument_id = 17092094;
nordnet.instrument(instrument_id)
.then(console.log)
.catch(console.error)Get stock history
const Nordnet = require('nordnet-api');
const nordnet = new Nordnet("username", "password");
const instrument_id = 17092094;
const start_date = '2010-01-01'
nordnet.stockhistory(instrument_id, start_date)
.then(console.log)
.catch(console.error)Get stocklist
const Nordnet = require('nordnet-api');
const nordnet = new Nordnet("username", "password");
nordnet.stocklist()
.then(console.log)
.catch(console.error)Get fundslist
const Nordnet = require('nordnet-api');
const nordnet = new Nordnet("username", "password");
nordnet.fundslist()
.then(console.log)
.catch(console.error)License
MIT