toloka.client.TolokaClient.find_apps
| Source code
Finds App solutions that match certain criteria.
The number of returned solutions is limited. To find remaining solutions call find_apps
with updated search criteria.
To iterate over all matching solutions you may use the get_apps method.
Parameters | Type | Description |
---|---|---|
after_id | Optional[str] | The ID of a solution used for cursor pagination. |
lang | Optional[str] | ISO 639 language code. |
id_gt | Optional[str] | Solutions with IDs greater than the specified value. |
id_gte | Optional[str] | Solutions with IDs greater than or equal to the specified value. |
id_lt | Optional[str] | Solutions with IDs less than the specified value. |
id_lte | Optional[str] | Solutions with IDs less than or equal to the specified value. |
name_gt | - | Solutions with names lexicographically greater than the specified value. |
name_gte | - | Solutions with names lexicographically greater than or equal to the specified value. |
name_lt | - | Solutions with names lexicographically less than the specified value. |
name_lte | - | Solutions with names lexicographically less than or equal to the specified value. |
sort | Union[List[str], AppSortItems, None] | Sorting options. Default: |
limit | Optional[int] | Returned solutions limit. The maximum allowed value: 1000. |
Returns:
Found solutions and a flag showing whether there are more matching solutions exceeding the limit.
Return type:
Examples:
search = toloka_client.find_apps()for app in search.content: print(app.id, app.name)if search.has_more: print('There are more App solutions...')
Last updated: August 28, 2023