Evolution Group
July 24, 2025 ยท View on GitHub
The following are the resources available in the Evolution group of the PokeAPI.
EvolutionChain
Get single Evolution Chain resource by ID:
// Main client example
evolutionChain, err := client.Evolutions.GetEvolutionChain("1")
// Individual resource group example
evolutionChain, err := evolutionsGroup.GetEvolutionChain("1")
Get list of Evolution Chain resource:
// Main client example returning first page of 20 results
evolutionChainList, err := client.Evolutions.GetEvolutionChainList(limit, offset)
// Individual resource group example returning second page of 20 results
evolutionChainList, err := evolutionsGroup.GetEvolutionChainList(limit, offset)
Get URL for Evolution Chain resource:
// Main client example
evolutionChainURL := client.Evolutions.GetEvolutionChainURL()
// Individual resource group example
evolutionChainURL := evolutionsGroup.GetEvolutionChainURL()
EvolutionTrigger
Get single Evolution Trigger resource by name or ID:
// Main client example with ID
evolutionTrigger, err := client.Evolutions.GetEvolutionTrigger("1")
// Individual resource group example with Name
evolutionTrigger, err := evolutionsGroup.GetEvolutionTrigger("level-up")
Get list of Evolution Trigger resource:
// Main client example returning first page of 20 results
evolutionTriggerList, err := client.Evolutions.GetEvolutionTriggerList(limit, offset)
// Individual resource group example returning second page of 20 results
evolutionTriggerList, err := evolutionsGroup.GetEvolutionTriggerList(limit, offset)
Get URL for Evolution Trigger resource:
// Main client example
evolutionTriggerURL := client.Evolutions.GetEvolutionTriggerURL()
// Individual resource group example
evolutionTriggerURL := evolutionsGroup.GetEvolutionTriggerURL()