Get-BirdWeatherGraphQLSpeciesProbabilities

SYNOPSIS

Get the probabilities of a species

SYNTAX

__AllParameterSets

Get-BirdWeatherGraphQLSpeciesProbabilities [-SpeciesId] <string> -Model <string>
 [-NorthEastLat <double>] [-NorthEastLon <double>] [-SouthWestLat <double>] [-SouthWestLon <double>]
 [-Property <string[]>] [-Raw]

ALIASES

This cmdlet has the following aliases,

  • Get-BWGSpeciesProbabilities

DESCRIPTION

The Get-BirdWeatherGraphQLSpeciesProbabilities cmdlet invokes the species.probabilities query of the BirdWeather GraphQL API

By default the following properties are returned, use the Property parameter to select other properties: locations.coords.lat, locations.coords.lon, locations.probabilities, precision

EXAMPLES

EXAMPLE 1

Get-BirdWeatherGraphQLSpeciesProbabilities -SpeciesId '123' -Model 'BIRDNET'

Returns the result of the species.probabilities query of the BirdWeather GraphQL API

EXAMPLE 2

Get-BirdWeatherGraphQLSpeciesProbabilities -SpeciesId '123' -Model 'BIRDNET' -Property 'locations.coords.lat', 'locations.coords.lon'

Only returns the defined properties

PARAMETERS

-Model

Model to use for probabilities

Allowed values: ‘BIRDNET’, ‘FOGLEMAN’, ‘INATURALIST’, ‘BIRDWEATHER’

Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: true
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-NorthEastLat

North-east bounding box coordinates - Latitude

Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-NorthEastLon

North-east bounding box coordinates - Longitude

Type: System.Double
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 SpeciesProbabilities to return Nested properties are defined with a dot, such as species.commonName Default values: locations.coords.lat, locations.coords.lon, locations.probabilities, precision

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: ''

-SouthWestLat

South-west bounding box coordinates - Latitude

Type: System.Double
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-SouthWestLon

South-west bounding box coordinates - Longitude

Type: System.Double
DefaultValue: 0
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.probabilities Returns : SpeciesProbabilities