Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Unonw-A is missing a bunch of sprites

Đang mở
#1,687 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
58/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
api

Hướng nghiên cứu

Start by comparing the responses from pokemon/201, pokemon-form/201, and pokemon-form/10001, then inspect the repository's data source and the change referenced by #1681. Done means unown-a has complete, correct sprite data and pokemon/201 exposes Unown A artwork consistently with the other forms.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Describe the Bug

Of all the unonw forms, on unown-a (pokemon-form/201) is missing sprite data. It only has two backsprites, all other fields are null.

The interesting part here is, that all other forms (pokemon-form/10001 and above) do have full sprite data available. unown-a is the default for, so one could argue that is no problem, as the pokemon resource should have all sprites of that one as well. However, the unown pokemon resource (pokemon/201) is inconsistent in that manner. It does have sprite data, and most of the point to unown-a images, but the artworks for example are of unown-f, not a, meaning there is currently no way to get the A-Artwork via the API, even though all the others are available.

Note: I did not look into it yet, but that might have to do with #1681 . @FallenDeity may you can confirm whether that is a preexisting issue or a problem introduced by your change?

Steps to Reproduce
  • GET https://pokeapi.co/api/v2/pokemon/201 -> Artwork is Unown F
  • GET https://pokeapi.co/api/v2/pokemon-form/201 -> Artwork is missing
  • GET https://pokeapi.co/api/v2/pokemon-form/10001 -> Artwork is Unown B
Resolving the Bug

Anyone is open to making a PR for this issue.

Ngôn ngữ chính
Python
Star
5.4k
Fork
1.2k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PokeAPI/pokeapi

Tất cả issue của PokeAPI/pokeapi

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.