Get-BirdWeatherGraphQLAllSpecies
SYNOPSIS
Lookup multiple species by IDs
SYNTAX
__AllParameterSets
Get-BirdWeatherGraphQLAllSpecies [[-After] <string>] [[-Before] <string>] [[-First] <int>]
[[-Last] <int>] [-Ids] <string[]> [[-Property] <string[]>] [[-MaxResults] <int>] [-AllResults]
[-Raw]
ALIASES
This cmdlet has the following aliases,
- Get-BWGAllSpecies
DESCRIPTION
The Get-BirdWeatherGraphQLAllSpecies cmdlet invokes the allSpecies query of the BirdWeather GraphQL API
Lookup multiple species by IDs
By default the following properties are returned, use the Property parameter to select other properties: alpha, alpha6, birdweatherUrl, classification, color, commonName, ebirdCode, ebirdUrl, id, imageCredit, imageLicense, imageLicenseUrl, imageUrl, mlUrl, rangeUrl, scientificName, stationCount, thumbnailUrl, wikipediaUrl
EXAMPLES
EXAMPLE 1
Get-BirdWeatherGraphQLAllSpecies -Ids '123', '456'
Returns the result of the allSpecies query of the BirdWeather GraphQL API
EXAMPLE 2
Get-BirdWeatherGraphQLAllSpecies -Ids '123', '456' -Property 'alpha', 'alpha6'
Only returns the defined properties
EXAMPLE 3
Get-BirdWeatherGraphQLAllSpecies -Ids '123', '456' -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: 0
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: 1
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: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Ids
Array of species IDs
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 4
IsRequired: true
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: 3
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: 6
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Property
The properties (GraphQL fields) of the Species to return Nested properties are defined with a dot, such as species.commonName Default values: alpha, alpha6, birdweatherUrl, classification, color, commonName, ebirdCode, ebirdUrl, id, imageCredit, imageLicense, imageLicenseUrl, imageUrl, mlUrl, rangeUrl, scientificName, stationCount, thumbnailUrl, wikipediaUrl
Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 5
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: ''
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
OUTPUTS
NOTES
GraphQL : Query.allSpecies Returns : The nodes of the SpeciesConnection connection