Skip to main content

REST api wrapper for nordpool average daily spot prices api

Project description

nordpool-imd-daily-average

Link to github repository

Python package for querying nordpool for average daily prices. Price returned is a string of SEK/kWh Default geo area is SE3 and currency SEK. Can be changed by setting the class variable's currency and areacode

areacode
"SE3"
"SE2"

Usage:
pip install nordpool-daily-averages

Getting average price for 2024-08-30, for areacode SE3 and in Euro

from nordpool import Prices as p
#instantiate class
price = p()
#Set price to Euro
price.curreny = "EUR"
#Get the price
price.get_prices_for_one_date("2024-08-30")

Getting average price for 2024-08-29 for areacode SE3 in SEK

from nordpool import Prices as p
#instantiate class
price = p()
#Get the price
price.get_prices_for_one_date("2024-08-29")

Getting average price for 2024-08-28 for areacode SE2 in SEK

from nordpool import Prices as p
#instantiate class
price = p()
#Set the areacode to SE2
price.areacode = "SE2"
#Get the price
price.get_prices_for_one_date("2024-08-29")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nordpool_daily_averages-1.0.4.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

nordpool_daily_averages-1.0.4-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file nordpool_daily_averages-1.0.4.tar.gz.

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.4.tar.gz
Algorithm Hash digest
SHA256 fc50ae817709758c5ace1c34b090ba9fbe00c1548d5c48d26fcf851319e11208
MD5 3b0c631b361108a23f0fb54bfc8ff756
BLAKE2b-256 0776bd3d2781472a1cd53cb7fb6ab866a9052f6491016a93429886e2ece3997e

See more details on using hashes here.

File details

Details for the file nordpool_daily_averages-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 67ffe99ff9eb56747115aca00e1bc67ebbb581e2bf7764aebb32d9569fe3a992
MD5 2091464c37a205779cedb50a2cabb7fd
BLAKE2b-256 07c39043d8d44711a50854b5a306e6aefc1c9e47b8aa156ee1b2ac9ca9116ac0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page