Pokemon item endpoint
GET /pokemon/items
Query Requirements:
Query Parameter |
---|
ability |
Example Response:
URL
https://api.some-random-api.com/pokemon/items?item=...
If the item isn't found it will try and search for items that may match what you were looking for.
Response
// 200 OK
{
"id": 5,
"name": "safari-ball",
"effects": "...",
"cost": 0,
"attributes": [
"countable"
...
],
"category": "standard-balls",
"sprite": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/items/safari-ball.png",
"descriptions": [
{
"description": "A special BALL that...",
"version": "ruby-sapphire"
},
...
]
}
// 404 Not Found
{
"error": "Item not found",
"dym": [ // Did you mean?
{
"item": "poke-ball",
"certainty": "0.55"
},
...
]
}