msf_by_season: MySportsFeeds API calls by season

Description Usage Arguments Functions Examples

Description

If you provide multiple seasons it will execute with a delay between each query. This is to ensure you obey limit rates but you are free to lower the parameter if you don't think your queries will reach the throttle limits.

Usage

1
2
3
4
5
msf_by_season(feed, sport, season = "current", delay = 1, ...)

seasonal_dfs(sport, season, ...)

seasonal_games(sport, season = "current", ...)

Arguments

feed

feed to request

sport

mlb | nfl | nba | etc..

season

ex. 2017-regular | current

delay

number of seconds between queries

...

additional query parameters

Functions

Examples

1
2
3
4
## Not run: 
j <- seasonal_dfs("nba", "2017-2018-regular", team = "SAS")

## End(Not run)

zamorarr/msf2 documentation built on May 29, 2019, 11:46 a.m.