Skip to main content

REST api wrapper for nordpool average daily spot prices api

Project description

nordpool-imd-daily-average

Link to github repository [https://github.com/g-svanberg/nordpool-imd-daily-average]

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.3.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ebc0053fe63b4bb73d8f5f688f033233bb452fafd6ad2a8c6ab1c1e779ce2e0a
MD5 32a989cb6074c267c2226fa5e4b545b3
BLAKE2b-256 75a525ebf2d5bda0161fa25692092936985e2029c549249b7a270b8c00cb86a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nordpool_daily_averages-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 02e98d58d499dd62d1a0c989b31b4e680e1f34645f50eeda65d3e3e389c5a1fa
MD5 53d79eafd4be691c5b6163f8cb8ee2b2
BLAKE2b-256 4de75ea4b0dd07b5b8444c108beb9d8ef99020d513840f2413f4e253a8f13637

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