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

GetClientR Documentation

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
)

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

## Not run: 
GetClient()

## End(Not run)

pyMTurkR documentation built on May 29, 2024, 6:13 a.m.