Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Pokemon past abilities not returning correct data

オープン
#1,265 コメント 4 件 リアクション 2 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

まず、ID 1 から 10 についてドキュメント化された Pokémon エンドポイントを呼び出し、API で past_abilities がどのように組み立てられているかを調査します。null の能力エントリの発生元を追跡し、その後、これらのレスポンスに null の能力が含まれなくなり、正しい過去の能力データが保持されていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

When getting the details of a pokemon (pokeapi.co/api/v2/pokemon/{id}) the past_abilities are wrong and the response is always:

"past_abilities": [
  {
    "abilities": [
      {
        "ability": null,
        "is_hidden": true,
        "slot": 3
      }
    ],
    "generation": {
      "name": "generation-iv",
      "url": "https://pokeapi.co/api/v2/generation/4/"
    }
  }
]

The null ability breaks the deserialization contract because a null ability should not exist.
I've been able to reproduce the issue with the first 10 pokemon (id 1 to 10).

Steps to Reproduce:

  1. call https://pokeapi.co/api/v2/pokemon/1
  2. scroll to the past_abilities data
主要言語
Python
スター
5.4k
フォーク
1.2k
平均マージ
2日 4時間
マージ済み PR(30日)
18

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PokeAPI/pokeapi のほかの issue

PokeAPI/pokeapi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。