This is a silly endpoint and function, but I implemented it anyways. To reach this endpoint, you already are in possession of your token. And I will not implement a username and password authentication because that is inherently unsafe in this API. Be safe people!

pb_user_api_token(username = NULL, token = NULL)

Arguments

username

your username You probably don't need to supply this every time. See ?authentication

token

your token

Value

token in string format

Examples

if (FALSE) { pb_user_api_token() }