To start with Toloka-Kit:
Install the Toloka-Kit package:
$ pip install toloka-kit$ pip install pandas
Check access to the API with the following Python script.
Starting July 1, 2024 Sandbox environment is unavailable.
import toloka.client as tolokatarget = 'SANDBOX' # Send requests to the sandbox# target = 'PRODUCTION' # Uncomment to send requests to the production versiontoloka_client = toloka.TolokaClient(input("Enter your token:"), target)print(toloka_client.get_requester())
The script:
The response to the above request should look like this:
Requester(_unexpected={}, id='6c6c50dce62ca4aef87dfcbc6e9de162', balance=Decimal('1.0000'), public_name={'EN': 'John Smith'}, company=None)
Complete one of the tutorials to get acquainted with Toloka web interface.
Create your first project using Toloka-Kit.
Read the package reference starting with TolokaClient.
Study Toloka API documentation.
See other features in Toloka documentation.
Contribute to Toloka-Kit on GitHub: open pull requests, report bugs or share your usage examples.
Last updated: February 7, 2023