Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
nordnet-next-api
Advanced tools
Isomorphic JS client for Nordnet nExt API. Client can be used both on the client and server side. Client should be used for making HTTP requests towards nExt API. See nExt API documentation for a list of possible requests.
npm install --save nordnet-next-api
Library can be used on the client and server side.
import api from 'nordnet-next-api';
api
.get('https://api.test.nordnet.se/next/2')
.then(response => console.log(response));
var api = require('nordnet-next-api');
var express = require('express');
var app = express();
app.get('/', function (req, res) {
api.get('https://api.test.nordnet.se/next/2')
.then(function(response) {
res.send(response);
})
});
import api from 'nordnet-next-api';
api.get('https://api.test.nordnet.se/next/2/accounts/{accno}', { accno: 123456789 })
.then(response => console.log(response));
import api from 'nordnet-next-api';
api.get('https://api.test.nordnet.se/next/2/accounts/{accno}', { accno: 123456789 })
.then(response => console.log(response));
import api from 'nordnet-next-api';
api.get('https://api.test.nordnet.se/next/2/user/{key}', { key: 'foo', value: { bar: 'bar' }})
.then(response => console.log(response));
import api from 'nordnet-next-api';
api.get('https://api.test.nordnet.se/next/2/markets/{market_id}', { market_id: 80 }, { 'Accept-Language': 'sv' })
.then(response => console.log(response));
See tests under src/__tests__
for more examples.
nordnet-next-api is distributed with a two simple example projects.
First, build the project:
npm run build
Run the client side example:
cd examples/client
npm install
npm start
Run the server side example:
cd examples/server
npm install
npm start
All open source code released by Nordnet is licenced under the MIT licence.
FAQs
Nordnet nExt API Javascript client
The npm package nordnet-next-api receives a total of 14 weekly downloads. As such, nordnet-next-api popularity was classified as not popular.
We found that nordnet-next-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.