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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nordpool_daily_averages-1.0.2.tar.gz
.
File metadata
- Download URL: nordpool_daily_averages-1.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb70419f2d1d809b51c23a82a57374181189eb6d911cef6ce22c41d0bbe16ce8 |
|
MD5 | e640547cb92605310ed2480a70ebf6cf |
|
BLAKE2b-256 | 37aeaed355fb524d89a11d2f52ec43143b226e83f50d58bdd4a601cc7c5763fe |
File details
Details for the file nordpool_daily_averages-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: nordpool_daily_averages-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f379b690d5c46c2bf95a777aac530f7fb1b6beaf064bb901b64cd62f9fda69c3 |
|
MD5 | a310798ce53f364d03a221a92c541663 |
|
BLAKE2b-256 | 73f8ccb34d646a648f8e78deebf17fdec6acaf37aee8f1058edfc3b768f29de5 |