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

Description Usage Arguments Details Value Author(s) References Examples

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

1
2
3
4
GetClient(
  sandbox = getOption("pyMTurkR.sandbox", TRUE),
  restart.client = FALSE
)

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.

Details

StartClient() is an alias

Value

No return value; Called to populate pyMTurkR$Client

Author(s)

Tyler Burleigh

References

AWS SDK for Python (Boto3) Boto3 Docs

Examples

1
2
3
4
## Not run: 
GetClient()

## End(Not run)

pyMTurkR documentation built on Nov. 25, 2021, 9:07 a.m.