Yarkis01 / TyraDex

Une API Pokémon en français. (WIP)
https://tyradex.app
MIT License
20 stars 3 forks source link

[DATA] Erreur dans une clef pour Majaspic #57

Closed LassaInora closed 1 year ago

LassaInora commented 1 year ago

Informations

URL: https://tyradex.tech/api/v1/pokemon/497

Problème

Un ':' s'est glissé dans la clef "condition" lors de l'évocation de sa préévolution Lianaja

Données actuelles

{
  "pokedexId": 496, 
  "name": "Lianaja", 
  "condition:": "Niveau 36"
}

Données souhaitées

{
  "pokedexId": 496, 
  "name": "Lianaja", 
  "condition": "Niveau 36"
}

=-=-=-= Version entière:

Avant:

{"pokedexId": 497, "generation": 5, "category": "Pok\u00e9mon Majestueux", "name": {"fr": "Majaspic", "en": "Serperior", "jp": "\u30b8\u30e3\u30ed\u30fc\u30c0"}, "sprites": {"regular": "https://raw.githubusercontent.com/Yarkis01/PokeAPI/images/sprites/497/regular.png", "shiny": "https://raw.githubusercontent.com/Yarkis01/PokeAPI/images/sprites/497/shiny.png", "gmax": null}, "types": [{"name": "Plante", "image": "https://raw.githubusercontent.com/Yarkis01/PokeAPI/images/types/plante.png"}], "talents": [{"name": "Engrais", "tc": false}, {"name": "Contestation", "tc": true}], "stats": {"hp": 75, "atk": 75, "def": 95, "spe_atk": 75, "spe_def": 95, "vit": 113}, "resistances": [{"name": "Normal", "multiplier": 1}, {"name": "Plante", "multiplier": 0.5}, {"name": "Feu", "multiplier": 2}, {"name": "Eau", "multiplier": 0.5}, {"name": "\u00c9lectrik", "multiplier": 0.5}, {"name": "Glace", "multiplier": 2}, {"name": "Combat", "multiplier": 1}, {"name": "Poison", "multiplier": 2}, {"name": "Sol", "multiplier": 0.5}, {"name": "Vol", "multiplier": 2}, {"name": "Psy", "multiplier": 1}, {"name": "Insecte", "multiplier": 2}, {"name": "Roche", "multiplier": 1}, {"name": "Spectre", "multiplier": 1}, {"name": "Dragon", "multiplier": 1}, {"name": "T\u00e9n\u00e8bres", "multiplier": 1}, {"name": "Acier", "multiplier": 1}, {"name": "F\u00e9e", "multiplier": 1}], "evolution": {"pre": [{"pokedexId": 495, "name": "Vip\u00e9lierre", "condition": "Niveau 17"}, {"pokedexId": 496, "name": "Lianaja", "condition:": "Niveau 36"}], "next": null, "mega": null}, "height": "3,3 m", "weight": "63,0 kg", "egg_groups": ["Terrestre", "V\u00e9g\u00e9tal"], "sexe": {"male": 87.5, "female": 12.5}, "catch_rate": 45, "level_100": 1059862, "forme": null}

Après:

{"pokedexId": 497, "generation": 5, "category": "Pok\u00e9mon Majestueux", "name": {"fr": "Majaspic", "en": "Serperior", "jp": "\u30b8\u30e3\u30ed\u30fc\u30c0"}, "sprites": {"regular": "https://raw.githubusercontent.com/Yarkis01/PokeAPI/images/sprites/497/regular.png", "shiny": "https://raw.githubusercontent.com/Yarkis01/PokeAPI/images/sprites/497/shiny.png", "gmax": null}, "types": [{"name": "Plante", "image": "https://raw.githubusercontent.com/Yarkis01/PokeAPI/images/types/plante.png"}], "talents": [{"name": "Engrais", "tc": false}, {"name": "Contestation", "tc": true}], "stats": {"hp": 75, "atk": 75, "def": 95, "spe_atk": 75, "spe_def": 95, "vit": 113}, "resistances": [{"name": "Normal", "multiplier": 1}, {"name": "Plante", "multiplier": 0.5}, {"name": "Feu", "multiplier": 2}, {"name": "Eau", "multiplier": 0.5}, {"name": "\u00c9lectrik", "multiplier": 0.5}, {"name": "Glace", "multiplier": 2}, {"name": "Combat", "multiplier": 1}, {"name": "Poison", "multiplier": 2}, {"name": "Sol", "multiplier": 0.5}, {"name": "Vol", "multiplier": 2}, {"name": "Psy", "multiplier": 1}, {"name": "Insecte", "multiplier": 2}, {"name": "Roche", "multiplier": 1}, {"name": "Spectre", "multiplier": 1}, {"name": "Dragon", "multiplier": 1}, {"name": "T\u00e9n\u00e8bres", "multiplier": 1}, {"name": "Acier", "multiplier": 1}, {"name": "F\u00e9e", "multiplier": 1}], "evolution": {"pre": [{"pokedexId": 495, "name": "Vip\u00e9lierre", "condition": "Niveau 17"}, {"pokedexId": 496, "name": "Lianaja", "condition": "Niveau 36"}], "next": null, "mega": null}, "height": "3,3 m", "weight": "63,0 kg", "egg_groups": ["Terrestre", "V\u00e9g\u00e9tal"], "sexe": {"male": 87.5, "female": 12.5}, "catch_rate": 45, "level_100": 1059862, "forme": null}
Ashzuu commented 1 year ago

Bonjour,

Je vous remercie pour votre retour, la correction sera modifié d'ici quelques minutes.

En vous souhaitant une très bonne journée,

Bien Cordialement