| external help file | PokeAPI-help.xml |
|---|---|
| grand_parent | berry |
| Module Name | PokeAPI |
| online version | https://celerium.github.io/PokeAPI-PowerShellWrapper/site/berry/Get-PokeBerry.html |
| parent | GET |
| schema | 2.0.0 |
| title | Get-PokeBerry |
Gets berries from PokeAPI
Get-PokeBerry [-offset <Int32>] [-limit <Int32>] [-allPages] [<CommonParameters>]Get-PokeBerry -id <Int32> [<CommonParameters>]Get-PokeBerry -name <String> [<CommonParameters>]The Get-PokeBerry cmdlet gets berries from PokeAPI
Berries are small fruits that can provide HP and status condition restoration, stat enhancement, and even damage negation when eaten by Pokemon
Get-PokeBerryGets the first 20 berries sorted by id
Get-PokeBerry -id 1Gets the berry with the defined id
Get-PokeBerry -name dittoGets the berry with the defined name
Get-PokeBerry -offset 151 -limit 100Gets the first 100 resources starting at resources with an id over 151
Defines id of the resource
Type: Int32
Parameter Sets: index_ById
Aliases:
Required: True
Position: Named
Default value: 0
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: FalseDefines name of the resource
Type: String
Parameter Sets: index_ByName
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: FalseDefines the page number to return
By default only 20 resources are returned
Type: Int32
Parameter Sets: index_ByAll
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseDefines the amount of resources to return with each page
By default only 20 resources are returned
Type: Int32
Parameter Sets: index_ByAll
Aliases:
Required: False
Position: Named
Default value: 0
Accept pipeline input: False
Accept wildcard characters: FalseReturns all resources from an endpoint
As of 2024-02, there is no cap on how many resources can be returned using the limit parameter. There is currently no real use for this parameter and it was included simply to account if pagination is introduced.
Type: SwitchParameter
Parameter Sets: index_ByAll
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
n/a
https://celerium.github.io/PokeAPI-PowerShellWrapper/site/berry/Get-PokeBerry.html