Get-BirdWeatherGraphQLSpeciesTranslations

SYNOPSIS

Get the translations of a species

SYNTAX

__AllParameterSets

Get-BirdWeatherGraphQLSpeciesTranslations [-SpeciesId] <string> [-Locale <string>]
 [-Property <string[]>] [-Raw]

ALIASES

This cmdlet has the following aliases,

  • Get-BWGSpeciesTranslations

DESCRIPTION

The Get-BirdWeatherGraphQLSpeciesTranslations cmdlet invokes the species.translations query of the BirdWeather GraphQL API

By default the following properties are returned, use the Property parameter to select other properties: commonName, locale, wikipediaSummary, wikipediaUrl

EXAMPLES

EXAMPLE 1

Get-BirdWeatherGraphQLSpeciesTranslations -SpeciesId '123'

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

EXAMPLE 2

Get-BirdWeatherGraphQLSpeciesTranslations -SpeciesId '123' -Property 'commonName', 'locale'

Only returns the defined properties

PARAMETERS

-Locale

The Locale value of the species.translations query

Type: System.String
DefaultValue: ''
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 SpeciesTranslation to return Nested properties are defined with a dot, such as species.commonName Default values: commonName, locale, wikipediaSummary, wikipediaUrl

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

-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.translations Returns : SpeciesTranslation