Examples of accessing BMRS data using the third-party Elexon Data Portal python library.
To make requests to the BMRS service an account and API key is required - see the documentation.
Once you have your API key, set this to the environment variable ELEXON_API_KEY
. You can use direnv to set this for you automatically - copy the envrc_template
to .envrc
and fill in the blank. Ensure you never commit your key to the public repo.