ravelry_auth: Get or set basic authentication credentials

Description Usage Arguments Value

View source: R/ravelry_auth.R

Description

The API wrapper functions in this package rely on basic authentication via username and password residing in the environment variables RAVELRY_USERNAME and RAVELRY_PASSWORD. The easiest way to accomplish this is to set it in the '.Renviron' file in your home directory. If you do not have these credentials, you can create them at https://www.ravelry.com/pro/developer.

Usage

1
ravelry_auth(key = "username", overwrite = FALSE)

Arguments

key

the variable to set - either username or password

overwrite

overwrite the existing variable in the current environment?

Value

atomic character vector containing the username or password credential


ravelRy documentation built on Feb. 19, 2020, 5:07 p.m.