k5cents / fflr

Get ESPN fantasy football data in R
https://k5cents.github.io/fflr/
GNU General Public License v3.0
22 stars 7 forks source link

Add features from mTeam view #4

Closed k5cents closed 4 years ago

k5cents commented 4 years ago
a <- "https://fantasy.espn.com/apis/v3/games/ffl/"
b <- sprintf("seasons/%s/segments/0/leagues/", format(Sys.Date(), "%Y"))
mTeam <- jsonlite::fromJSON(paste0(a, b, 252353, "?view=mTeam"))
k5cents commented 4 years ago

Most of these are incorporated into either league_standings() or league_transactions().