solarforecastarbiter.io.api.APISession.create_site

APISession.create_site(site)[source]

Create a new site in the API with the given Site model

Parameters:site (datamodel.Site or datamodel.SolarPowerPlant) – Site to create in the API
Returns:datamodel.Site or datamodel.SolarPowerPlant – With the appropriate parameters such as site_id set by the API