toloka.client.analytics_request.ActiveWorkersByFilterCountPoolAnalytics
| Source code
ActiveWorkersByFilterCountPoolAnalytics( self, *, subject_id: str, interval_hours: int)
Counts the number of active Tolokers that match pool filters.
Active Tolokers are Tolokers who viewed and completed tasks recently.
Parameters | Type | Description |
---|---|---|
subject_id | str | The ID of a pool to get analytics about. |
interval_hours | int | The interval in hours to take into account. |
Examples:
operation = toloka_client.get_analytics( [toloka.client.analytics_request.ActiveWorkersByFilterCountPoolAnalytics(subject_id='1084779', interval_hours=3)])operation = toloka_client.wait_operation(operation)count = operation.details['value'][0]['result']print(count)
Last updated: August 28, 2023