This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import boto.mturk.connection | |
sandbox_host = 'mechanicalturk.sandbox.amazonaws.com' | |
real_host = 'mechanicalturk.amazonaws.com' | |
mturk = boto.mturk.connection.MTurkConnection( | |
aws_access_key_id = 'XXX', | |
aws_secret_access_key = 'XXX', | |
host = sandbox_host, | |
debug = 1 # debug = 2 prints out all requests. but we'll just keep it at 1 |