JSPM

nordnet-api

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q23859F
  • License MIT

Nordnet.dk Unofficial API

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

Package version NPM downloads Make a pull request License: MIT

Nordnet.dk Unofficial API

Table of Contents

Install

npm install nordnet-api

Usage

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