solarforecastarbiter.io.api.APISession.create_aggregate

APISession.create_aggregate(aggregate)[source]

Create a new aggregate in the API with the given Aggregate model

Parameters:aggregate (datamodel.Aggregate) – Aggregate to create in the API
Returns:datamodel.Aggregate – With the parameters aggregate_id and provider set by the API.