Query watttime.org for the current ba
Get-WattTime [-ba] <String> [-AuthToken] <String> [<CommonParameters>]
Query watttime.org for the current ba on the https://api2.watttime.org/index endpoint
Get-WattTime -ba 'NL' -AuthToken $authToken
The ba to query for
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
The authentication token to use for the request
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
A ba is WattTime's term for a balancing authority. A balancing authority is a regional entity that is responsible for maintaining the balance between supply and demand of electricity in a given region. For more information, see https://www.watttime.org/faq
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTime.md
https://github.com/cloudyspells/PSWattTime/blob/main/docs/Get-WattTimeAuthToken.md
https://www.watttime.org/api-documentation/#real-time-emissions-index