Endpoint: move-ailment

GEThttps://pokedex.mimo.dev/api/move-ailment/tar-shot

Request

GETmove-ailment
1fetch("https://pokedex.mimo.dev/api/move-ailment/tar-shot")
2 .then((res) => res.json())
3 .then((json) => console.log(json))
4 .catch((error) => console.error(error))

Response

response.json
1{
2 "id": 42,
3 "moves": [
4 {
5 "name": "tar-shot",
6 "url": "https://pokedex.mimo.dev/api/move/749/"
7 }
8 ],
9 "name": "tar-shot",
10 "names": [
11 {
12 "language": {
13 "name": "en",
14 "url": "https://pokedex.mimo.dev/api/language/9/"
15 },
16 "name": "Tar shot"
17 }
18 ]
19}