Get-BirdWeatherGraphQLSpeciesDetectedStations
SYNOPSIS
Stations with a valid detection of this species, most recently active first. Capped (default/max 5000)
SYNTAX
__AllParameterSets
Get-BirdWeatherGraphQLSpeciesDetectedStations [-SpeciesId] <string> [-SinceCount <int>]
[-SinceUnit <string>] [-SinceFrom <datetime>] [-SinceTo <datetime>] [-SinceTimezone <string>]
[-Limit <int>] [-Property <string[]>] [-Raw]
ALIASES
This cmdlet has the following aliases,
- Get-BWGSpeciesDetectedStations
DESCRIPTION
The Get-BirdWeatherGraphQLSpeciesDetectedStations cmdlet invokes the species.detectedStations query of the BirdWeather GraphQL API
Stations with a valid detection of this species, most recently active first. Capped (default/max 5000).
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-BirdWeatherGraphQLSpeciesDetectedStations -SpeciesId '123'
Returns the result of the species.detectedStations query of the BirdWeather GraphQL API
EXAMPLE 2
Get-BirdWeatherGraphQLSpeciesDetectedStations -SpeciesId '123' -Property 'audioUrl', 'continent'
Only returns the defined properties
PARAMETERS
-Limit
Maximum number of stations to return (default 5000, max 5000)
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-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: ''
-SinceCount
Only include stations active within this look-back window (defaults to all time) - Number of units of time
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SinceFrom
Only include stations active within this look-back window (defaults to all time) - From date, or an exact ISO 8601 date-time
Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SinceTimezone
Only include stations active within this look-back window (defaults to all time) - Timezone for from/to dates (and date-times without an offset)
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SinceTo
Only include stations active within this look-back window (defaults to all time) - To date, or an exact ISO 8601 date-time
Type: System.DateTime
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SinceUnit
Only include stations active within this look-back window (defaults to all time) - Unit of time (minute/hour/day/week/month/year)
Allowed values: ‘minute’, ‘hour’, ‘day’, ‘week’, ‘month’, ‘year’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SpeciesId
Species 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.species.detectedStations Returns : Station