nordnet-api

1.0.0 • Public • Published

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

/nordnet-api/

    Package Sidebar

    Install

    npm i nordnet-api

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • zjael