Skip to content

Contest Types

ContestType

Represent a contest type resource returned by PokéAPI.

Contest types categorize Pokémon Contests according to the condition judged, such as Cool, Beauty, Cute, Smart, or Tough. Each contest type corresponds to a berry flavor.

This model corresponds to the https://pokeapi.co/api/v2/contest-type/{id or name}/ endpoint.

Attributes:

Name Type Description
id int

The unique identifier of the contest type.

name str

The name of the contest type.

berry_flavor NamedAPIResource

The berry flavor associated with this contest type.

names list[ContestName]

The localized names of this contest type, including their associated colors and languages.

ContestName

Represent a localized name for a contest type.

Attributes:

Name Type Description
name str

The localized name of the contest type.

color str

The color associated with the contest type's name.

language NamedAPIResource

A reference to the language of this localized name.