post https://enactapifd.lcp.uk.com/enactApi/Series/multipleSeriesPlantData
Multiple Plant Series IDs
This endpoint returns multiple series of data of type plant. Each requested series id must have a specified option id in the same position in the input arrays.
All input Series IDs must be of type plant. For non plant data use "get_multi_series_data"
You can visualise various Enact series on Enact's dashboard page.
Using the LCPDelta Python Package
Synchronous
from lcp_delta import enact
from datetime import date
enact_api_helper = enact.APIHelper(username, public_api_key)
# see 'BODY PARAMS' section below for details on corresponding parameter values
response_dataframe = enact_api_helper.get_multi_series_plant_data(
["Mel", "Pn"],
date(2023,6,21),
date(2023,6,23),
"Gb",
option_ids= ["Coal", "Biomass"],
)
print(response_dataframe)
Using the API Directly
The response object is a dictionary of data keyed by column header with lists of data values.
To request data for a single day, set the from and to fields in the request body equal to each other.
The response object holds all data for the multiple requested series.