There seems to be no way of getting all images for certain forms?
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:
- https://pokeapi.co/api/v2/pokemon-form/10068 (summer)
- https://pokeapi.co/api/v2/pokemon-form/10069 (autumn)
- https://pokeapi.co/api/v2/pokemon-form/10070 (winter)
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:
- https://github.com/PokeAPI/sprites/blob/master/sprites/pokemon/versions/generation-vi/x-y/585-summer.png
- https://github.com/PokeAPI/sprites/blob/master/sprites/pokemon/versions/generation-vi/x-y/585-autumn.png
- https://github.com/PokeAPI/sprites/blob/master/sprites/pokemon/versions/generation-vi/x-y/585-winter.png
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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PokeAPI/pokeapi
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
PokeAPI/pokeapi#1685 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Incorrect Omega Ruby and Alpha Pokémon Version Group Name in Sprites and Pokémon Form SpritesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PokeAPI/pokeapi#1684 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Blank past ability entriesAbierto
Dificultad 2/5 1-2 días Aptitud para principiantes 76/100
PokeAPI/pokeapi#1631 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
PokeAPI/pokeapi#1687 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
openapi integers range.Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
PokeAPI/pokeapi#1623 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de PokeAPI/pokeapi
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-2 días Aptitud para principiantes 70/100
-
FingerprintSplitter raises ZeroDivisionError when int(frac_train * len(dataset)) floors to zeroAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 7 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
lmstudio-ai/mlx-engine#376 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pyiron/bagofholding#166 ·