toloka.client.user.User.Attributes
| Source code
Attributes( self, *, country_by_phone: Optional[str] = None, country_by_ip: Optional[str] = None, client_type: Optional[str] = None, user_agent_type: Optional[str] = None, device_category: Optional[str] = None, os_family: Optional[str] = None, os_version: Optional[float] = None, os_version_major: Optional[int] = None, os_version_minor: Optional[int] = None, os_version_bugfix: Optional[int] = None)
Information obtained from the Toloker's device.
Parameters | Type | Description |
---|---|---|
country_by_phone | Optional[str] | The country determined based on the phone number. |
country_by_ip | Optional[str] | The country determined based on the IP address. |
client_type | Optional[str] | The client which the Toloker uses to access the platform:
|
user_agent_type | Optional[str] | The user agent type which the client application uses to identify itself:
|
device_category | Optional[str] | The category of the device:
|
os_family | Optional[str] | The operating system family installed on the device:
|
os_version | Optional[float] | The version of the OS. The version consists of major and minor version numbers and is represented as a single floating point number, for example, |
os_version_major | Optional[int] | The major version of the OS. |
os_version_minor | Optional[int] | The minor version of the OS. |
os_version_bugfix | Optional[int] | The build number or the bugfix version of the OS. |
Last updated: August 28, 2023