This Guide will explain how to access you 1 rep Max
Set up API Token
Below is the code to set up your API Token. Please reference the Get Started Guide.
# Load the eliteformR package
library(eliteformR)
API_key <- "YOUR-API-KEY-HERE"
URL <- "https://your_team_url_eliteform.com"
token <- EF_CreateAPIToken(URL, API_key)
# Download Team List
team_list_df <- EF_GetTeamsList(token)
# Update the Token with the Selected Team ID
# TeamId should be as.numeric()
token <- EF_UpdateTokenTeam(token, team_list_df$TeamId[1])
# or
# token <- EF_UpdateTokenTeam(token, 111)