Returns team or league stats depending on what type of key is provided as an argument to key.
Arguments
- key
League key or team key as a string in the form "000.l.0000" or "000.l.0000.t.0".
- token_name
Name used for assignment when creating token object with `y_create_token()`.
- week
Week of fantasy season to return. -Accepts 3 arguments: - `current` returns current week of season. - An integer corresponding to a week of season. - If NULL will return aggregated season stats.
- debug
returns a list of data such as uri call and content. Useful for debugging.
- quiet
Print function activity.