toloka.client.user.User
| Source code
User( self, *, id: Optional[str] = None, country: Optional[str] = None, languages: Optional[List[str]] = None, adult_allowed: Optional[bool] = None, attributes: Optional[Attributes] = None)
Information about a Toloker.
Some information is got from the Toloker's profile, other is obtained from the Toloker's device.
Country and language are returned as country codes.
Parameters | Type | Description |
---|---|---|
id | Optional[str] | The Toloker's ID. |
country | Optional[str] | The country set in the profile. |
languages | Optional[List[str]] | A list of languages specified in the profile. |
adult_allowed | Optional[bool] | Whether or not the Toloker agreed to complete tasks which contain adult content. |
attributes | Optional[Attributes] | Information obtained from the device. |
Last updated: August 28, 2023