No project description provided
Project description
pyelexon
Simple python wrapper for the Elexon BMRS API.
Getting started
-
Register on the Elexon BMRS data portal and retrieve your
api_key
-
Example usage
from datetime import date
from pyelexon import Elexon
api_key = "123456"
report = "DETSYSPRICES"
settlement_date = date(2021, 9, 15)
settlement_period = 1
elexon = Elexon(api_key)
# returns content of response
r: bytes = elexon.fetch_settlement(report, settlement_date, settlement_period)
Tested reports
DETSYSPRICES
PHYBMDATA
DYNBMDATA
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
pyelexon-0.1.2.tar.gz
(4.2 kB
view hashes)