Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 1.93 KB

README.md

File metadata and controls

67 lines (48 loc) · 1.93 KB

entsoe-js

Unofficial NodeJS library for the ENTSO-E Transparency Platform API

npm version npm downloads Github Actions Codecov


✨ Features

  • Day ahead prices.
  • Written in TypeScript.
  • Battle tested with 100% code coverage.

🚀 Quick start

Install:

# npm
npm i entsoe-js

# yarn
yarn add entsoe-js

# pnpm
pnpm i entsoe-js

Usage:

import { Client, BiddingZone } from 'entsoe-js';

const client = new Client({
    securityToken: process.env.ENTSOE_API_KEY
});

const prices = await client.dayAheadPrices({
    biddingZone: BiddingZone.NL
});

Security token

To get access to an security token you need to register the Transparency Platform and send an email to [email protected] with Restful API access in the subject line. Indicate the email address you entered during registration in the email body. When granted access there will be an option to generate a security token under account settings.

Thanks

Thanks to Robin Hansson for his work and inspiration: https://github.com/rabinage/entsoe-api-node