set_api_key: Set API key

View source: R/trundler.R

set_api_keyR Documentation

Set API key

Description

Specify the key for accessing the Trundler API. You can either get an internal key directly from us or a RapidAPI key from the Trundler page on RapidAPI.

Usage

set_api_key(api_key)

Arguments

api_key

API key.

Details

Automatically determines which type of key is being used and authenticates appropriately.

Examples

# Authenticate using an internal API key.
set_api_key("8f9f3c4e-5dd6-4bff-3a2c-592b45cf2437")

# Authenticate using a RapidAPI key.
set_api_key("5a1ae0ce24mshd483dae6ab7308dp129ef6jsn1f473053d6b0")

datawookie/retail documentation built on Jan. 11, 2023, 4:07 a.m.