Skip to contents

This function sends a request to a specific PALM (MakerSuite) API endpoint and authenticates with an API key.

Usage

request_base_palm(model, key = Sys.getenv("PALM_API_KEY"))

Arguments

model

character string specifying a PALM (MakerSuite) API model

key

String containing a PALM (MakerSuite) API key. Defaults to the PALM_API_KEY environmental variable if not specified.

Value

An httr2 request object