Interface ISupplyService
The Get Supply service displays aggregated live generation and consumption data.
See the official API information.
Namespace: PVOutput.Net.Modules
Assembly: PVOutput.Net.dll
Syntax
public interface ISupplyService
Methods
| Improve this Doc View SourceGetSupplyAsync(string, string, CancellationToken)
Retrieves live generation and consumption data
See the official API information.
Declaration
Task<PVOutputArrayResponse<ISupply>> GetSupplyAsync(string timeZone = null, string regionKey = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
string | timeZone | A timezone identifier in the 'Europe/London' format. Will default to GMT+0 if empty. |
string | regionKey | Region key in the '1:queensland' format. Donation only option. |
CancellationToken | cancellationToken | A cancellation token for the request. |
Returns
Type | Description |
---|---|
Task<PVOutputArrayResponse<ISupply>> | List of supply information |