Skip to main content
Deno 2 is finally here 🎉️
Learn more

entsoe-api-client

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

Deno CI MIT License

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

Documentation

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

Note These are the document types currently supported:

  • Publication_MarketDocument
  • GL_MarketDocument
  • Unavailability_MarketDocument
  • Configuration_MarketDocument

Contributions to handling more document types would be highly appreciated.

Examples

Examples can be found in the /examples directory.

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

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

Contributing

All contributions are welcome.

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