ff_connect: Connect to a League

View source: R/0_generics.R

ff_connectR Documentation

Connect to a League

Description

This function creates a connection object which stores parameters and gets a login-cookie if available - it does so by passing arguments to the appropriate league-based handler.

Usage

ff_connect(platform = "mfl", league_id = NULL, ...)

Arguments

platform

one of MFL or Sleeper (Fleaflicker, ESPN, Yahoo in approximate priority order going forward)

league_id

league_id (currently assuming one league at a time)

...

other parameters passed to the connect function for each specific platform.

Value

a connection object to be used with ff_* functions

See Also

mfl_connect(), sleeper_connect(), fleaflicker_connect(), espn_connect()

Examples


ff_connect(platform = "mfl", season = 2019, league_id = 54040, rate_limit = FALSE)


ffscrapr documentation built on Feb. 16, 2023, 10:55 p.m.