Learn R Programming

ravelRy (version 0.1.0)

ravelry_auth: Get or set basic authentication credentials

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

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