👓
PokeAPIのデータまとめ(02)
pokemon-form
基本形
存在するmonster_id_intは以下の通り。
monster_id_int = 1 to 1025 & 10001 to 10503
{
"form_name": str,
"form_names": list,
"form_order": int,
"id": int, // monster_id_intと同じ
"is_battle_only": bool,
"is_default": bool,
"is_mega": bool,
"name": str,
"names": list,
"order": int,
"pokemon": {
"name": str,
"url": str
},
"sprites": {
"back_default": str, // URLの文字列
"back_female": null, // *注1
略
"front_default": str, // URLの文字列
略
},
"types": [略],
"version_group": {略},
}
monster_id_int = 1
フシギダネ(特に他の形態がない)
{
"form_name": "",
"form_names": [],
"form_order": 1,
"id": 1,
"is_battle_only": false,
"is_default": true,
"is_mega": false,
"name": "bulbasaur",
"names": [],
"order": 1,
"pokemon": {
"name": "bulbasaur",
"url": "https://pokeapi.co/api/v2/pokemon/1/"
},
"sprites": {
"back_default": "...sprites/pokemon/back/1.png",
"back_female": null,
略
"front_default": "...sprites/pokemon/1.png",
略
},
"types": [略],
"version_group": {略},
}
monster_id_int = 3
フシギバナ(megaとgmaxがある)
{
"form_name": "",
"form_names": [],
"form_order": 1,
"id": 3, // monster_id_intと同じ
"is_battle_only": false,
"is_default": true,
"is_mega": false,
"name": "venusaur",
"names": [],
"order": 3,
"pokemon": {
"name": "venusaur",
"url": "https://pokeapi.co/api/v2/pokemon/3/"
},
"sprites": {
"back_default": "...sprites/pokemon/back/3.png",
"back_female": null,
略
"front_default": "...sprites/pokemon/3.png",
略
},
"types": [略],
"version_group": {略},
}
monster_id_int = 645
ランドロス(けしん/れいじゅうフォルムがある)
{
"form_name": "incarnate",
"form_names": [
{
"language": {
"name": "ja-Hrkt",
"url": "https://pokeapi.co/api/v2/language/1/"
},
"name": "けしんフォルム" //*注2
},
略
{
"language": {
"name": "zh-Hans",
"url": "https://pokeapi.co/api/v2/language/12/"
},
"name": "化身形态"
}
],
"form_order": 1,
"id": 645, // monster_id_intと同じ
"is_battle_only": false,
"is_default": true,
"is_mega": false,
"name": "landorus-incarnate",
"names": [
{
"language": {
"name": "fr",
"url": "https://pokeapi.co/api/v2/language/5/"
},
"name": "Démétéros Avatar"
},
{
"language": {
"name": "de",
"url": "https://pokeapi.co/api/v2/language/6/"
},
"name": "Demeteros"
},
{
"language": {
"name": "en",
"url": "https://pokeapi.co/api/v2/language/9/"
},
"name": "Incarnate Landorus"
}
],
"order": 829,
"pokemon": {
"name": "landorus-incarnate",
"url": "https://pokeapi.co/api/v2/pokemon/645/"
},
"sprites": {
略
"front_default": "https://...pokemon/645.png",
略
},
"types": [略],
"version_group": {略},
}
Discussion