Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

There seems to be no way of getting all images for certain forms?

Abierto
#1,281 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Área
api

Línea de trabajo

Comienza con las respuestas de la API de pokemon/deerling y pokemon-form/10068-10070, y compáralas después con los archivos correspondientes del repositorio PokeAPI/sprites. Determina cómo se representan y exponen las imágenes de formas alternativas; se considerará terminado cuando las formas afectadas proporcionen una forma coherente y documentada de recuperar sus imágenes disponibles.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I apologize if this mentioned somewhere, I'm new to the the API. But I didn't see any clear answer to this in the docs or in existing issues. It seems like there's images for certain forms that are not exposed by the API directly. I namely noticed this with Deerling, but it almost certainly applies elsewhere

If you check https://pokeapi.co/api/v2/pokemon/deerling, the sprites field only has data for the default (spring) form. The Pokemon has 3 other forms however:

Each of these forms does have a sprites field as well, but they contain considerably less images than the pokemon endpoint provides, only providing the default sprites

Despite this, images for other platforms DO exist for these forms. Such as:

But it seems like these images are not exposed by the API? The pokemon-form endpoints all point back to the same base form (spring), and none of the alternate forms seem to have dedicated pokemon entries

I suspect this issue applies to all Pokemon with multiple forms where the forms do not have dedicated pokemon entries, not just Deerling. I also noticed this same issue with Flabebe, as if has multiple forms and images for other platforms but seemingly no way to get the images from the API?

Lenguaje dominante
Python
Estrellas
5.4k
Forks
1.2k
Merge medio
2 d 4 h
PR fusionados (30 d)
15

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PokeAPI/pokeapi

Todos los issues de PokeAPI/pokeapi

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.