Click or drag to resize
LocationStationId Method
Returns a non-null StationIdLocation object with the specified weather station ID.

Namespace: DegreeDays.Api.Data
Assembly: DegreeDaysApi (in DegreeDaysApi.dll) Version: (
public static StationIdLocation StationId(
	string stationId


Type: SystemString
The non-null, non-empty ID of the weather station that the StationIdLocation should represent (i.e. the station you want data for). Cannot contain contain any characters other than [-_0-9a-zA-Z], and cannot contain more than 60 characters (a limit that is significantly larger than the length of any station ID that we are currently aware of, but that is set high to allow for "virtual station IDs" to be introduced in the future, combining data from multiple stations).

Return Value

Type: StationIdLocation
The newly-created StationIdLocation object.
ArgumentNullExceptionstationId is null.
FormatExceptionTests indicate that stationId fails to match the specification detailed above.
See Also