Toloka documentation

Quick Start

To start with Toloka-Kit:

  1. Get an OAuth token in your profile or in the Sandbox profile.

  2. Install the Toloka-Kit package:

    $ pip install toloka-kit
  3. Check access to the API with the following Python script. The script:

    • Imports the package.
    • Asks to enter the OAuth token.
    • Requests general information about your account.
    import toloka.client as toloka
    target = 'SANDBOX'      # Send requests to the Sandbox
    # target = 'PRODUCTION' # Uncomment to send requests to the production version
    toloka_client = toloka.TolokaClient(input("Enter your token:"), target)

What's Next