Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

entsoe-api-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entsoe-api-client

ENTSO-e transparency platform API Client. Complete. Easy to use. Minimal.

  • 0.9.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
Maintainers
1
Weekly downloads
 
Created
Source

entsoe-api-client

Unofficial ENTSO-e transparency platform API Client for Deno and Node. Complete. Easy to use. Minimal.

Deno CI MIT License

  • Works in Deno >=1.26
  • Works in Node >=18
  • Native TypeScript typings
  • Support most aspects of Entso-e transparency platform REST API
  • Unzips and parses zip-file endpoints (e.g. outage documents) transparently
  • ESM (Deno, Node) and CommonJS (Node) support
  • Includes examples for getting Outages, Spot-prices, actual generation and generation forecast

Documentation

Full library documentation is available at https://deno.land/x/entsoe_api_client/mod.ts

See ENTSO-e REST API documentation for documentation on which parameters to use for each endpoint.

All names, both parameters and output object keys, are simplified in this implementation, as an example receiver_MarketParticipant.mRID become receiverMarketParticipantId.

Note These are the document types currently supported:

  • Publication_MarketDocument
  • GL_MarketDocument
  • Unavailability_MarketDocument
  • Configuration_MarketDocument
  • Balancing_MarketDocument
  • CriticalNetworkElement_MarketDocument
  • TransmissionNetwork_MarketDocument

Installation

Deno
import { QueryConfiguration } from "https://deno.land/x/entsoe_api_client/mod.ts";
Node
npm install entsoe-api-client --save

Examples

Examples can be found in the /examples directory.

Pass your ENTSO-e API key by environment variable API_TOKEN when running the examples.

Deno

Powershell

$env:API_TOKEN="your-api-token"; deno run -A .\spot-prices-today.ts

Bash

API_TOKEN="your-api-token" deno run -A .\spot-prices-today.ts
Node

Powershell

$env:API_TOKEN="your-api-token"; node .\spot-prices-today.ts

Bash

API_TOKEN="your-api-token" node .\spot-prices-today.ts

Contributing

All contributions are welcome.

Module developed for Deno. Node module is generated by dnt, using scripts/build_npm.ts.

See Contribution Guide

Note Please run deno task precommit before each commit, to make sure every file is tested/formatted/linted to standards.

License

MIT

FAQs

Package last updated on 07 Feb 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc