find_apps

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 description

ParametersTypeDescription
after_idOptional[str]

The ID of a solution used for cursor pagination.

langOptional[str]

ISO 639 language code.

id_gtOptional[str]

Solutions with IDs greater than the specified value.

id_gteOptional[str]

Solutions with IDs greater than or equal to the specified value.

id_ltOptional[str]

Solutions with IDs less than the specified value.

id_lteOptional[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.

sortUnion[List[str], AppSortItems, None]

Sorting options. Default: None.

limitOptional[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:

    AppSearchResult

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

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