get_user_bonus

toloka.client.TolokaClient.get_user_bonus | Source code

get_user_bonus(self, user_bonus_id: str)

Gets information about a Toloker's bonus.

Parameters description

ParametersTypeDescription
user_bonus_idstr

The ID of the bonus.

  • Returns:

    The information about the bonus.

  • Return type:

    UserBonus

Examples:

bonus = toloka_client.get_user_bonus(user_bonus_id='3295')
print(bonus.amount)

Last updated: August 28, 2023

Toloka-Kit
OverviewGetting API keyQuick start
Recipes
Reference
toloka.client
toloka.async_client
toloka.autoquality [autoquality]
toloka.metrics
toloka.streaming