1fetch("https://pokedex.mimo.dev/api/encounter-condition-value/other-talk-to-cynthias-grandmother") 2 .then((res) => res.json())3 .then((json) => console.log(json))4 .catch((error) => console.error(error))
1{2 "condition": {3 "name": "other",4 "url": "https://pokedex.mimo.dev/api/encounter-condition/10/"5 },6 "id": 42,7 "name": "other-talk-to-cynthias-grandmother",8 "names": [9 {10 "language": {11 "name": "en",12 "url": "https://pokedex.mimo.dev/api/language/9/"13 },14 "name": "Talk to Cynthia’s grandmother"15 },16 {17 "language": {18 "name": "fr",19 "url": "https://pokedex.mimo.dev/api/language/5/"20 },21 "name": "Après avoir parlé à la grand-mère de Cynthia"22 }23 ]24}