Tried to use the espn_s2 cookie value in the ... argument of draft_recap but got 404 error and was unable to get the function to query the data. How does espn_s2 get passed to the functions?
library(fflr)
fflr::ffl_id(leagueId = '123456')
#> Temporarily set `fflr.leagueId` option to 123456
#> [1] "123456"
espn_s2 = "AECLabcdefghijklmnopqrstuvwxyz"
fflr::draft_recap(leagueHistory = TRUE, cookie = espn_s2)
#> Error: ESPN Fantasy API request failed [404]
#> Not Found (No League History?)
Tried to use the espn_s2 cookie value in the ... argument of draft_recap but got 404 error and was unable to get the function to query the data. How does espn_s2 get passed to the functions?