pwt_auth: Tests that a user can be authenticated

View source: R/pwt_auth.R

pwt_authR Documentation

Tests that a user can be authenticated

Description

Tests that a user can be authenticated

Usage

pwt_auth(user, key, ...)

Arguments

user

Your PWT user name, probably your email address

key

Your PWT api key.

...

Further args passed to httr::GET

Examples


library('httr')
user <- "myrmecocystus@gmail.com"
key <- getOption('pwtapikey')
pwt_auth(user, key)
pwt_auth(user, key, config=verbose())


ropensci/rpwt documentation built on May 18, 2022, 7:31 p.m.