Perform operation for given task.
1 2 | mturk_task_req(task, operation, host = NULL,
access_key = NULL, secret_key = NULL, ...)
|
an XML object, XMLInternalDocument-class
To use amazon mturk you need both an access key (analogous to a username) and a secret key (analogous to a password). Both are available from https://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key#access_credentials.
There are three ways to specify your keys:
As parameters to any request function:
access_key
, secret_key
As parameters
in your task description: AccessKey
,
SecretKey
As environmental variables:
AWS_KEY
, AWS_SECRET_KEY
If your code is publically available (such as through a public svn or git repository) DO NOT store your secret key in your task description, as this will allow anyone to charge jobs to your amazon account. If you do accidentally publish it, go to the url above and deactivate it and generate new access and secret keys.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.