Learn R Programming

pyMTurkR (version 1.1.6)

GetClient: Creates an MTurk Client using the AWS SDK for Python (Boto3)

Description

Create an API client. Only advanced users will likely need to use this function. CheckAWSKeys() is a helper function that checks if your AWS keys can be found.

Usage

GetClient(
  sandbox = getOption("pyMTurkR.sandbox", TRUE),
  restart.client = FALSE
)

Value

No return value; Called to populate pyMTurkR$Client

Arguments

sandbox

A logical indicating whether the client should be in the sandbox environment or the live environment.

restart.client

A boolean that specifies whether to force the creation of a new client.

Author

Tyler Burleigh

Details

StartClient() is an alias

References

AWS SDK for Python (Boto3) Boto3 Docs

Examples

Run this code
if (FALSE) {
GetClient()
}

Run the code above in your browser using DataLab