Getting character information

Before redeeming codes, you might want users to enter their player ID. Our API can fetch the player’s name so users can confirm they entered the right ID.

Here’s how to check a player:

1from kokos_activator_api.redeem import CharacterNotFoundError
2try:
3 character = await client.redeem.get_character(player_id="51709255708")
4 print(character.name)
5except CharacterNotFoundError:
6 print("Character not found")

Character lookups cost 0.25 activations each. Learn more about pricing.