Skip to content

Unable to use espn_s2 cookie to pull draft_recap with leagueHistory=TRUE #50

@jcsagerer

Description

@jcsagerer

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions