Get-BirdWeatherGraphQLStation
SYNOPSIS
Get the station
SYNTAX
__AllParameterSets
Get-BirdWeatherGraphQLStation [-StationId] <string> [-Property <string[]>] [-Raw]
ALIASES
This cmdlet has the following aliases,
- Get-BWGStation
DESCRIPTION
The Get-BirdWeatherGraphQLStation cmdlet invokes the station query of the BirdWeather GraphQL API
By default the following properties are returned, use the Property parameter to select other properties: audioUrl, continent, coords.lat, coords.lon, country, earliestDetectionAt, eclipse, edition, hasProbabilities, id, latestDetectionAt, location, locationPrivacy, locationPrivacyRadius, minConfidence, minProbability, minScore, name, notes, openWeather, portableDetections, source, state, timezone, type, videoUrl
EXAMPLES
EXAMPLE 1
Get-BirdWeatherGraphQLStation -StationId '21934'
Returns the result of the station query of the BirdWeather GraphQL API
EXAMPLE 2
Get-BirdWeatherGraphQLStation -StationId '21934' -Property 'audioUrl', 'continent'
Only returns the defined properties
PARAMETERS
-Property
The properties (GraphQL fields) of the Station to return Nested properties are defined with a dot, such as species.commonName Default values: audioUrl, continent, coords.lat, coords.lon, country, earliestDetectionAt, eclipse, edition, hasProbabilities, id, latestDetectionAt, location, locationPrivacy, locationPrivacyRadius, minConfidence, minProbability, minScore, name, notes, openWeather, portableDetections, source, state, timezone, type, videoUrl
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Raw
Returns the full API response (data & errors) instead of only the requested data
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-StationId
Station ID
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Id
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
System.String
OUTPUTS
NOTES
GraphQL : Query.station Returns : Station