preheat_open.data.load_box_data¶
- preheat_open.data.load_box_data(component_map, start, end, resolution='minute')¶
Loads box data from the API
- Parameters:
component_map (
dict
[str
,Any
]) – mapping of the components to load data forstart (
Union
[str
,datetime
]) – start of the periodend (
Union
[str
,datetime
]) – end of the periodresolution – resolution to load data with (raw, minute/5min, hour , day, week, month, year)
- Return type:
DataFrame
- Returns:
data in Dataframe format