psnawp_api.models.trophies.trophy_utils module#
Provides helper functions for Trophy related classes.
- trophy_rarity_to_enum(trophy_rarity: int | None) TrophyRarity | None[source]#
Converts a trophy rarity integer to a
TrophyRarityenum.
- trophy_type_str_to_enum(trophy_type_str: str | None) TrophyType | None[source]#
Converts a trophy type string to a
TrophyTypeenum.