Closed ming-tsai closed 4 years ago
https://pokeapi.co/docs/v2#abilities
This is the response object of abilities,
{
"id": 1,
"name": "stench",
"is_main_series": true,
"generation": {
"name": "generation-iii",
"url": "https://pokeapi.co/api/v2/generation/3/"
},
"names": [
{
"name": "Stench",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"effect_entries": [
{
"effect": "This Pokémon's damaging moves have a 10% chance to make the target [flinch]{mechanic:flinch} with each hit if they do not already cause flinching as a secondary effect.\n\nThis ability does not stack with a held item.\n\nOverworld: The wild encounter rate is halved while this Pokémon is first in the party.",
"short_effect": "Has a 10% chance of making target Pokémon [flinch]{mechanic:flinch} with each hit.",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
],
"effect_changes": [
{
"version_group": {
"name": "black-white",
"url": "https://pokeapi.co/api/v2/version-group/11/"
},
"effect_entries": [
{
"effect": "Has no effect in battle.",
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
}
}
]
}
],
"flavor_text_entries": [
{
"flavor_text": "è‡ãã¦ã€€ç›¸æ‰‹ãŒ\nã²ã‚‹ã‚€ã€€ã“ã¨ãŒã‚る。",
"language": {
"name": "ja-kanji",
"url": "https://pokeapi.co/api/v2/language/11/"
},
"version_group": {
"name": "x-y",
"url": "https://pokeapi.co/api/v2/version-group/15/"
}
}
],
"pokemon": [
{
"is_hidden": true,
"slot": 3,
"pokemon": {
"name": "gloom",
"url": "https://pokeapi.co/api/v2/pokemon/44/"
}
}
]
}
@ming-tsai in which fields should we focus?
Hi @mecm1993, I guess we should focus on pokemon field, so it could relation with Pokedex
Migration to Graphql, only primary fields