pokedevs / pokedex-api Goto Github PK
View Code? Open in Web Editor NEWThis is an issue only repository for the PokéDex API. You'll also find announcements about the API in the issues.
Home Page: https://pokedevs.gitbook.io
This is an issue only repository for the PokéDex API. You'll also find announcements about the API in the issues.
Home Page: https://pokedevs.gitbook.io
Related to #1, it would be nice to be able to query the API for multiple pokemon in a single request. Could be done via query param ?number=1,3,4,7 on the pokemon endpoint.
Alternatively, you could implement a search endpoint that will return a list of pokemon name/id via a POST request with body data to filter. Something like this:
POST: /v1/search
Body: {"name":"saur"}
This would return all pokemon whose names match saur.
Body: {"gen":[1,2],"name":"saur"}
This would return all pokemon whose names match saur and are in the first 2 gens.
Search would then have the same data model as pokemon, but always return an array instead of a single.
abilities
field is now an array of objects:
{
name: string;
description: string;
hidden: boolean;
}
mega
field will now represent whether a Pokemon can mega evolve.mega
field will be an object with details of the mega stone if the form is already a mega form.{
stone: string;
sprite: string;
}
codename
field for the Ultra Beast's codenameultraBeast
flagabilities
is now an array of string.gender
is now a string representing the gender ratio.family
is now an array of string representing the evolution line.family
field.height
and weight
fields.mythical
, legendary
and starter
flags.These changes will be implemented after v2 release:
???
/ 0
Pokedex API has been released: pokedevs.gitbook.io
API calls for each and every Pokemon I try are resulting in a 404 error each time. Was working fine a few weeks ago.
I am still however able to access sprite images through editing this link for whichever pokemon is desired: https://cdn.traction.one/pokedex/pokemon/149.png
The pokemon images, doesn't work, i don't know if has a problem to the api but this url doesn't work example image
Taking a look to it, I saw we have the endpoint "pokemon/{id|name}", which returns the pokemon info.
But, there is no endpoint that list all the pokemon. Response can be a short array of a piece of info like:
{
"name": "<pokemon_name>",
"id": "<pokemon_id>",
"url": "<pokemon_url_info>"
}
With this type of endpoint we can have a list of all the pokemon, so in apps or webapps can be used to show the user all the existing pokemons, allowing the user to go to the specific info of it.
Thanks in advance
New pokemon released in sword and shield are not yet available in the pokedex
The current API only has the type of Pokemon. It will be great if the API contains properties like effective
, resistance
as an array.
e.g. Using Pikachu
{
"effective": ["water", "flying"],
"resistance": ["ground"]
}
Title is self-explanatory. The API stopped working today, and accessing it through a browser shows a Glitch 404 page saying the project can't be found.
I was able to find that new galar pokemons (Generation VIII) are missing from the api and it would be great if you could add them as well! Thanks!
Access to fetch at 'https://pokeapi.glitch.me/v1/pokemon/716' from origin 'http://localhost:5000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
I've been perusing the sprite image urls. It looks like all of Gen 8 is there, except for the Galarian forms. For example, https://pokeres.bastionbot.org/images/pokemon/52-alola.png is the Alolan form of Meowth, but there is no image or info available for Galarian Meowth when you query https://pokeapi.glitch.me/v1/pokemon/52 . Are there plans to add these entries?
Source: https://www.ign.com/wikis/pokemon-sword-shield/List_of_Galarian_Form_Pokemon
Primal Kyogre sprite still directed to https://pokeres.bastionbot.org/images/pokemon/382.png and Primal Groudon sprite still directed to https://pokeres.bastionbot.org/images/pokemon/383.png
I really love this API because of its ease of use. Is there any by any change you will update it to Gen VIII. Is it possible for me contribute to it too?
When attempting to fetch Pokémon data from the https://ex.traction.one/pokedex/pokemon/{pokemon_name} endpoint, the expected JSON response is not returned. Instead, an HTML document is received, which seems to be a generic template or a placeholder, indicating the request might not be reaching a live API service. I could not find anything about HTML responses in the readme so I am led to believe this is an error.
curl -i -X GET \ -H "User-Agent: BastionDiscordBot (https://bastion.traction.one, v10.13.0)" \ https://ex.traction.one/pokedex/pokemon/greninja
or just
curl https://ex.traction.one/pokedex/pokemon/greninja
Data returned from https://pokeapi.glitch.me/v1/pokemon/130 for Mega Gyarados is wrong
{
"number": "131",
"types": [
"Water",
"Flying"
],
"sprite": "https://cdn.traction.one/pokedex/pokemon/131-mega.png",
"description": "This gentle POKéMON loves to give people rides and provides a very comfortable way to get around."
}
It should be
{
"number": "130",
"types": [
"Water",
"Dark"
],
"sprite": "https://cdn.traction.one/pokedex/pokemon/130-mega.png",
"description": "Mega Evolution places a burden on its body. The stress causes it to become all the more ferocious."
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.