Get-TCGdexSuffix
SYNOPSIS
Get all card suffixes / Get cards by suffix
SYNTAX
List (Default)
Get-TCGdexSuffix [-ItemsPerPage <long>] [-Page <long>] [-SortField <string>] [-SortOrder <string>]
[-Language <string>] [-AllResults] [-NoCache]
ById
Get-TCGdexSuffix [-Suffix] <string> [-ItemsPerPage <long>] [-Page <long>] [-SortField <string>]
[-SortOrder <string>] [-Filters <hashtable>] [-Language <string>] [-AllResults] [-NoCache]
ALIASES
This cmdlet has the following aliases,
- None
DESCRIPTION
Parameter set [ List ] - The Get-TCGdexSuffix cmdlet invokes the GET method of the /suffixes endpoint (Get all card suffixes)
Returns a list of all card suffixes (EX, GX, V, etc.), with support for sorting and pagination
Parameter set [ ById ] - The Get-TCGdexSuffix cmdlet invokes the GET method of the /suffixes/{suffix} endpoint (Get cards by suffix)
Returns cards with the specified suffix, with support for filtering, sorting, and pagination
Responses are cached in memory for one hour, use -NoCache to send a new request
EXAMPLES
EXAMPLE 1
Get-TCGdexSuffix
Returns the result of the /suffixes endpoint
EXAMPLE 2
Get-TCGdexSuffix -Language 'fr'
Returns the result of the /suffixes endpoint in French
EXAMPLE 3
Get-TCGdexSuffix -Page 2 -ItemsPerPage 10
Returns the second page of 10 items from the /suffixes endpoint
EXAMPLE 4
Get-TCGdexSuffix -AllResults
Returns every item from the /suffixes endpoint by requesting every page of the results
EXAMPLE 5
Get-TCGdexSuffix -Suffix 'V'
Returns the result of the /suffixes/{suffix} endpoint
EXAMPLE 6
Get-TCGdexSuffix -Suffix 'V' -Filters @{ name = 'Pikachu' } -SortField 'name' -SortOrder 'ASC'
Returns the filtered result of the /suffixes/{suffix} endpoint sorted by name
EXAMPLE 7
Get-TCGdexSuffix -Suffix 'V' -Page 2 -ItemsPerPage 10
Returns the second page of 10 items from the /suffixes/{suffix} endpoint
EXAMPLE 8
Get-TCGdexSuffix -Suffix 'V' -AllResults
Returns every item from the /suffixes/{suffix} endpoint by requesting every page of the results
PARAMETERS
-AllResults
Returns all items from the endpoint by requesting every page of the results
When ItemsPerPage is not defined 100 items are requested with each page
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- AllPages
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Filters
Filter results by field value.
Supports various operators:
- Default/’like:’ - Laxist equality (contains, case insensitive)
- ‘not:’/’notlike:’ - Laxist inequality
- ‘eq:’ - Strict equality
- ‘neq:’ - Strict inequality
- ‘gte:’ - Greater than or equal (numbers)
- ‘lte:’ - Less than or equal (numbers)
- ‘gt:’ - Greater than (numbers)
- ‘lt:’ - Less than (numbers)
- ‘null:’ - Field is null
- ‘notnull:’ - Field is not null
-
Multiple values with ‘ ’ (e.g., ‘name=eq:Furret Pikachu’)
Every key of the hashtable is sent as its own query parameter, such as @{ name = ‘eq:Pikachu’ }. An array value is joined with a pipe (|) to match any of the values
Type: System.Collections.Hashtable
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ItemsPerPage
Number of items per page (applied when pagination:page is used)
Default value: 100
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Language
The language of the data to return
When not defined the module language is used, see Add-TCGdexLanguage & Get-TCGdexLanguage (default: en)
Allowed values: ‘en’, ‘fr’, ‘es’, ‘es-mx’, ‘it’, ‘pt’, ‘pt-br’, ‘pt-pt’, ‘zh-cn’, ‘zh-tw’, ‘ja’, ‘ko’, ‘th’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-NoCache
Sends a new request instead of returning a cached response, the response is not cached
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: ''
-Page
Page number for paginated results
Default value: 1
Type: System.Int64
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SortField
Field to sort results by (overrides default sorting)
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-SortOrder
Order to sort results (ASC or DESC)
Allowed values: ‘ASC’, ‘DESC’
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: ById
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
- Name: List
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-Suffix
The suffix of the cards to return, such as V
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Id
ParameterSets:
- Name: ById
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
Endpoint : GET /suffixes Endpoint : GET /suffixes/{suffix}