Get the detailed information about the project with the ID specified in the request.
Connect the Toloka-Kit library to your script.
import toloka.client as toloka
Replace the sample API key with your own one.
toloka_client = toloka.TolokaClient('PlaceYourRealApiKey_Here', 'PRODUCTION');
Find out the ID of the project for which you want to get the detailed information. Then get this info calling the get_project()
method.
project = toloka_client.get_project('83859')
The get_project()
request will return the Project class object. You can use its attributes to print the information you need.
print(project.public_name, project.status)
You should get an output with the project name and status which looks like this.
Image classification ProjectStatus.ACTIVE
import toloka.client as tolokatoloka_client = toloka.TolokaClient('PlaceYourRealApiKey_Here', 'PRODUCTION')project = toloka_client.get_project('83859')print(project.public_name, project.status)
Last updated: February 7, 2023