Random Pokemon
AI-generatedOverview
This node generates a specified number of random Pokémon data entries, optionally filtered by Pokémon type and color. It is useful for scenarios where you want to sample or explore Pokémon data randomly, such as in games, educational tools, or data analysis projects involving Pokémon attributes.
Use Case Examples
- Generate 5 random Pokémon without any filters to get a general sample.
- Generate 10 random Pokémon filtered by the 'Fire' type to focus on fire-type Pokémon.
- Generate 3 random Pokémon filtered by the color 'Red' to explore Pokémon with that color.
Properties
| Name | Meaning |
|---|---|
| Number of Pokémon | Specifies how many random Pokémon to generate. |
| Filter by Type | Filters the Pokémon by their type(s). If left empty, no type filtering is applied. |
| Filter by Color | Filters the Pokémon by their color. If left empty, no color filtering is applied. |
Output
JSON
jsonid- The unique identifier of the Pokémon.name- The name of the Pokémon.type- An array of types that the Pokémon belongs to.color- The color category of the Pokémon.otherProperties- Other Pokémon attributes included in the data such as stats, abilities, etc.
Dependencies
- pokemonData.json containing Pokémon data
Troubleshooting
- If no Pokémon are returned, check that the filter values are correct and that the data source contains Pokémon matching those filters.
- Ensure the 'numberOfPokemon' parameter is a positive integer; otherwise, no results or errors may occur.