Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pokemons rename in species request #1045

Closed
aristofany-herderson opened this issue Feb 15, 2024 · 2 comments
Closed

Pokemons rename in species request #1045

aristofany-herderson opened this issue Feb 15, 2024 · 2 comments

Comments

@aristofany-herderson
Copy link

aristofany-herderson commented Feb 15, 2024

The names of the pokemons are different, taking into account the urls https://pokeapi.co/api/v2/pokemon/{name} and https://pokeapi.co/api/v2/pokemon-species/{name}, generating errors.

For example, in the https://pokeapi.co/api/v2/pokemon/892 request, the name of the pokemon is urshifu-single-strike, however in the https://pokeapi.co/api/v2/pokemon-species/892 request, the name is urshifu, generating an error, if the request is made by name.

@aristofany-herderson aristofany-herderson closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2024
@aristofany-herderson aristofany-herderson changed the title Urshifu-single-strike to urshifu rename in species request Pokemons rename in species request Feb 15, 2024
@GreatNovaDragon
Copy link
Contributor

Intended, species and pokemon are different things. Yeah, i also think its stupid. I talk bout that in #1037

species is telling you everything you find under an natdex number, while pokemon are just specific forms of a pokemon, the numeric request being the first form under the natdex number.

@Naramsim
Copy link
Member

closing this since it's the intended way, as of now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants