Get-BirdWeatherGraphQLSpeciesTopDetections
SYNOPSIS
List top detection for each station the species was detected at
SYNTAX
__AllParameterSets
Get-BirdWeatherGraphQLSpeciesTopDetections [-SpeciesId] <string> [-After <string>]
[-Before <string>] [-First <int>] [-Last <int>] [-HasSoundscape <bool>] [-Property <string[]>]
[-AllResults] [-MaxResults <int>] [-Raw]
ALIASES
This cmdlet has the following aliases,
- Get-BWGSpeciesTopDetections
DESCRIPTION
The Get-BirdWeatherGraphQLSpeciesTopDetections cmdlet invokes the species.topDetections query of the BirdWeather GraphQL API
List top detection for each station the species was detected at
By default the following properties are returned, use the Property parameter to select other properties: behavior, behaviorCode, behaviorConfidence, certainty, confidence, coords.lat, coords.lon, eclipse, id, mode, probability, ref, score, species.id, species.commonName, species.scientificName, speciesId, station.id, station.name, timestamp
EXAMPLES
EXAMPLE 1
Get-BirdWeatherGraphQLSpeciesTopDetections -SpeciesId '123'
Returns the result of the species.topDetections query of the BirdWeather GraphQL API
EXAMPLE 2
Get-BirdWeatherGraphQLSpeciesTopDetections -SpeciesId '123' -Property 'behavior', 'behaviorCode'
Only returns the defined properties
EXAMPLE 3
Get-BirdWeatherGraphQLSpeciesTopDetections -SpeciesId '123' -AllResults -MaxResults 100
Returns up to 100 nodes by following the pagination cursor
PARAMETERS
-After
Returns the elements in the list that come after the specified cursor.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-AllResults
Returns all nodes by following the pagination cursor When using this parameter there is no need to use the After parameter, the page size is set with the First parameter (default 100)
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: ''
-Before
Returns the elements in the list that come before the specified cursor.
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-First
Returns the first n elements from the list.
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: ''
-HasSoundscape
Only return detections whose clip is still available (drops rows whose top clip was purged with no playable fallback)
Type: System.Boolean
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Last
Returns the last n elements from the list.
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: ''
-MaxResults
The maximum number of nodes that are returned when using AllResults By default all nodes are returned
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 Detection to return Nested properties are defined with a dot, such as species.commonName Default values: behavior, behaviorCode, behaviorConfidence, certainty, confidence, coords.lat, coords.lon, eclipse, id, mode, probability, ref, score, species.id, species.commonName, species.scientificName, speciesId, station.id, station.name, timestamp
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 including the pageInfo & totalCount
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: ''
-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.topDetections Returns : The nodes of the SpeciesTopDetectionsConnection connection