Nordnet
An improved Node.js wrapper around the Nordnet nExt test API.
Improvements
- Authenticate directly in the client
- Automatic session refresh
- Built-in feed support
Table of Contents
Installation
Install via npm
$ npm install nordnet
or
Install via git clone
$ git clone https://github.com/fhqvst/nordnet.git$ cd nordnet$ npm install
Documentation
The most important functions are authenticate
, call
, and subscribe
.
authenticate
: Refer to the example below.call
: See the nExt API docs.subscribe
: See the nExt Feed docs.
For anything else, refer to API.md.
NOTE: Do not use your Nordnet credentials. Instead, create a nExt API account here.
Examples
const nordnet = // See note above for which credentials to use.nordnet
Tests
Run all tests
$ npm test
NOTE: No tests will run without an .env
file. Refer to .env.example
in order to create your own.
RESPONSIBILITIES
The author of this software is not responsible for any indirect damages (foreseeable or unforeseeable), such as, if necessary, loss or alteration of or fraudulent access to data, accidental transmission of viruses or of any other harmful element, loss of profits or opportunities, the cost of replacement goods and services or the attitude and behavior of a third party.
Changelog
The GitHub releases page is used for changelog entries.
License
axios: https://github.com/mzabriskie/axios/
node-rsa: https://github.com/rzcoder/node-rsa/