Retrieve fantasy football data from fantasy.premierleague.com site and add to a MySQL database
1 2 |
db |
open database object returned from dbConnect |
leagueID |
Numeric league identifier |
stats |
Boolean. If true update stats table |
league |
Boolean. If true update league table |
weeks |
vector of weeks to collect data for |
all |
Boolean. If true collect data for all weeks (overrides weeks vector) |
progressbar |
Boolean. If true a progress bar is displayed |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.