Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,281 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
api

Direzione di ricerca

Inizia dalle risposte dell’API di pokemon/deerling e pokemon-form/10068-10070, quindi confrontale con i file corrispondenti nel repository PokeAPI/sprites. Determina come vengono rappresentate ed esposte le immagini delle forme alternative; il lavoro è completo quando le forme interessate forniscono un modo coerente e documentato per recuperare le immagini disponibili.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Python
Stelle
5.4k
Fork
1.2k
Merge medio
2g 4h
PR unite (30g)
18

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PokeAPI/pokeapi

Tutte le issue di PokeAPI/pokeapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.