solarforecastarbiter.io.api.APISession.get_site

APISession.get_site(site_id)[source]

Retrieve site metadata for site_id from the API and process into the proper model.

Parameters:site_id (string) – UUID of the site to retrieve metadata for
Returns:datamodel.Site or datamodel.SolarPowerPlant – Dataclass with all the metadata for the site depending on if the Site is a power plant with modeling parameters or not.