archetypal.dataportal.openei_api_request

archetypal.dataportal.openei_api_request(data)[source]

Query the OpenEI.org API.

Parameters

data (dict or OrderedDict) – key-value pairs of parameters to post to the API.

Returns

the json response

Return type

dict