← Divertissement

Pokemon par type

GET /pokemon/type/:type

Obtenez tous les Pokemon of a spécifique type (fire, water, electric, etc.) avec type effectiveness data. Renvoie qui types it's strong against, weak against, et immune to. Utile pour les team building et battle strategy tools.

Paramètres

type requis

Pokemon type (fire, water, electric, grass, etc.)

Exemples de requêtes

Utilisation de base
curl https://nordapi.ee/api/v1/pokemon/type/fire
All Fire-type Pokemon
curl https://nordapi.ee/api/v1/pokemon/type/fire
All Dragon-type Pokemon
curl https://nordapi.ee/api/v1/pokemon/type/dragon
All Electric-type Pokemon
curl https://nordapi.ee/api/v1/pokemon/type/electric

Réponse en direct

{
  "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
}