Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Basculin-White-Striped Variant is Bugged

Open
#40 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start by running the issue's pokemon_species("basculin").varieties reproduction and inspect how the PokéAPI species varieties are converted into Pokémon objects. Compare the third Basculin variant with the resource returned by the API; done means all three names and associated fields match the expected API values.

Written by the indexing model from the issue text.

Description

Description

While writing some code to get the variants of each species I noticed the third variant of basculin was returning None as the name not the expected "basculin-white-striped"

Code to Reproduce
import pokebase as pb

for var in pb.pokemon_species("basculin").varieties:
    print(var.pokemon.name)
Expected Results
basculin-red-striped
basculin-blue-striped
basculin-white-striped
Actual Results
basculin-red-striped
basculin-blue-striped
None
Notes

It's not just the name that is wrong, the entire results for the third variant are wrong, containing many fields that shouldn't be there

Also, looking at the resource directly in the browser shows the expected values so this seems to be an issue with pokebase not the api?

Dominant language
Python
Stars
361
Forks
58
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PokeAPI/pokebase

All issues in PokeAPI/pokebase

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.