get_my_user: Get the authenticated user

Description Usage Arguments Details Value See Also Examples

View source: R/get_my_user.R

Description

Provides information on the authenticated user

Usage

1
get_my_user(key = NA, tidy = TRUE)

Arguments

key

the api you have set up on DEV.TO, Default: NA

tidy

if the response should be parsed into a tibble, Default: TRUE

Details

if no key is supplied, will check for key named DEVTO in '.Renviron'

Value

user stuff

See Also

GET,add_headers,content tibble select

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 get_my_user("my_api_key")
 }

## End(Not run)

DaveParr/dev.to.ol documentation built on Aug. 8, 2020, 4:31 p.m.