samuelmr / nordpool-node

A npm library to get information from nordic power market (Nord Pool, ELSPOT)
MIT License
55 stars 12 forks source link

API soon deprecated? #27

Open SindreLindahl opened 3 months ago

SindreLindahl commented 3 months ago

Looking at config (https://github.com/samuelmr/nordpool-node/blob/master/src/config.ts), the nordpool urls seem to go to /marketdata/, but aren't those shutting down soon? Ref: https://www.nordpoolgroup.com/en/trading/Operational-Message-List/2024/03/deprecation-of-market-data-v1-endpoints-20240318095300/

Any plans on updating to v2 API?

nagisa commented 3 months ago

When making requests from node/nodered with this library I'm now receiving 404s. Making a curl query for something like http://www.nordpoolspot.com/api/marketdata/page/10?currency=,EUR,EUR,EUR&endDate=20-06-2024 still works however (probably load balancer and/or A/B test things.)

samuelmr commented 3 months ago

This library is not using Nordpool's market data v1 endpoints (which are being deprecated), it's scraping website resources. I'm not planning to add support to official APIs.