Skip to contents

Teams in a league make moves, have co-managers, have a waiver prioity etc. This function returns all team level meta data from the Yahoo! Fantasy API.

Usage

y_teams(league_key = NULL, token_name = NULL, debug = FALSE, quiet = TRUE)

Arguments

league_key

League key as a string in the form "000.l.0000". League id can be found with `y_games()`.

token_name

Name used for assignment when creating token object with `y_create_token()`.

debug

Returns a list of data such as uri call and content. Useful for debugging.

quiet

Print function activity.

Value

A tibble.