GET /pokemon/type/:type
Get all Pokemon of a specifik type (fire, water, electric, etc.) med type effectiveness data. Returnerar som typer it's strong against, weak against, and immune to. Användbart för team att bygga and battle strategy verktyg.
typ
obligatorisk
Pokemon type (fire, water, electric, grass, etc.)
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
typ |
Ja | - | Pokemon type (fire, water, electric, grass, etc.) |
curl https://nordapi.ee/api/v1/pokemon/type/fire
curl https://nordapi.ee/api/v1/pokemon/type/fire
curl https://nordapi.ee/api/v1/pokemon/type/dragon
curl https://nordapi.ee/api/v1/pokemon/type/electric
{
"data": {
"double_damage_from": [
"ground",
"rock",
"water"
],
"double_damage_to": [
"bug",
"steel",
"grass",
"ice"
],
"half_damage_to": [
"rock",
"fire",
"water",
"dragon"
],
"name": "fire",
"no_damage_to": [],
"pokemon": [
{
"name": "charmander"
},
{
"name": "charmeleon"
},
{
"name": "charizard"
},
{
"name": "vulpix"
},
{
"name": "ninetales"
},
{
"name": "growlithe"
},
{
"name": "arcanine"
},
{
"name": "ponyta"
},
{
"name": "rapidash"
},
{
"name": "magmar"
},
{
"name": "flareon"
},
{
"name": "moltres"
},
{
"name": "cyndaquil"
},
{
"name": "quilava"
},
{
"name": "typhlosion"
},
{
"name": "slugma"
},
{
"name": "magcargo"
},
{
"name": "houndour"
},
{
"name": "houndoom"
},
{
"name": "magby"
},
{
"name": "entei"
},
{
"name": "ho-oh"
},
{
"name": "torchic"
},
{
"name": "combusken"
},
{
"name": "blaziken"
},
{
"name": "numel"
},
{
"name": "camerupt"
},
{
"name": "torkoal"
},
{
"name": "chimchar"
},
{
"name": "monferno"
}
],
"pokemon_count": 109
},
"success": true
}