Skip to content

APIMetadata resource used for pokemon.sprites.other contains invalid key "official-artwork"; cannot get results #32

@mickelsendamon

Description

@mickelsendamon

The key for pokebase.pokemon(1).sprites.other.official-artwork is invalid syntax for Python and results in the "official-artwork" key to be unretrievable. Please update this to use _ instead of -.

I checked this for the first 99 Pokemon and got the same keys for each as in the example below:
pokebase.pokemon(99).sprites.other = "{'dream_world': <pokebase.interface.APIMetadata object at 0x7f7f0752ce20>, 'official-artwork': <pokebase.interface.APIMetadata object at 0x7f7f0752cf10>}"

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions