Recipes
🦉
Compare Nordic aFFR utilisation [Python package]
Open Recipe

This endpoint returns a dictionary of data, corresponding to the requested metrics, products and date range.

Only the Day, Month and Year members of the 'Dates' field should be populated. Ignore any other fields.

For specific values of request fields, please see the API request object generated on the Universal Exporter page.


Using the LCPDelta Python Package

import lcp_delta.flextrack as flextrack
from datetime import datetime as dt

flextrack_api_helper = flextrack.APIHelper(username, public_api_key)

response_dataframe = flextrack_api_helper.get_exporter_data(
	date_from=dt(2022, 11, 1),
	date_to=dt(2023, 10, 31),
	countries=['Austria'],
	products=["RegelleistungFcrProcuredFourHourly",
		"RegelleistungFcrProcuredDaily",
		"RegelleistungAfrrProcured"],
	directions=["Symmetric", "Upward", "Downward"],
	market='Availability',
	metrics=['Volume', 'Price'],
	aggregation_types=['Average', 'Average'],
	granularity='Monthly'
)

print(response_dataframe)
import lcp_delta.flextrack as flextrack
from datetime import datetime as dt
import asyncio

### supported in package version 1.3.0 and later ###

async def main():
    flextrack_api_helper = flextrack.APIHelper(username, public_api_key)

    response_dataframe = await flextrack_api_helper.get_exporter_data_async(
        date_from=dt(2022, 11, 1),
        date_to=dt(2023, 10, 31),
        countries=['Austria'],
        products=["RegelleistungFcrProcuredFourHourly",
            "RegelleistungFcrProcuredDaily",
            "RegelleistungAfrrProcured"],
        directions=["Symmetric", "Upward", "Downward"],
        market='Availability',
        metrics=['Volume', 'Price'],
        aggregation_types=['Average', 'Average'],
        granularity='Monthly'
    )

    print(response_dataframe)

asyncio.run(main())

Using the API Directly

Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!