Skip to contents

Tokens named PavloviaR_#Random_String#. Tokens are saved to accessToken.csv in the current working directory and will be reused. So we avoid creating an unlimited number of accessTokens on gitlab.pavlovia.org. Be careful with the token!

Usage

getAccessTokenByUsernameAndPassword(username, password)

Arguments

username

Username or Email of a registered account in Pavlovia

password

Passord for the Pavlovia/Gitlab.Pavlovia Account

Value

A Response object with $data (Names list: $name-> Name of Token , $token -> AccessToken) and $message a status message and $isError (True if API Call was unsuccessful)

Examples

tokenResponseObject <- getAccessTokenByUsernameAndPassword("username", "12345")
tokenResponseObject$data$token #here is your accessToken
#> NULL