Add-TCGdexLanguage

SYNOPSIS

Sets the language of the data returned by the TCGdex API

SYNTAX

__AllParameterSets

Add-TCGdexLanguage [[-Language] <string>]

ALIASES

This cmdlet has the following aliases,

  • Set-TCGdexLanguage

DESCRIPTION

The Add-TCGdexLanguage cmdlet sets the language which is added to the base URI of every API call (//)

The -Language parameter of a public function overrides this value for one request

EXAMPLES

EXAMPLE 1

Add-TCGdexLanguage

The data is returned in English (en)

EXAMPLE 2

Add-TCGdexLanguage -Language fr

The data is returned in French

EXAMPLE 3

Set-TCGdexLanguage -Language ja

Uses the Set-TCGdexLanguage alias, the data is returned in Japanese

PARAMETERS

-Language

The language code to use

Use Get-TCGdexAvailableLanguages to list the languages

Default value: en

Type: System.String
DefaultValue: en
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: true
  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

System.String

OUTPUTS

NOTES

N/A