Description Usage Arguments Value Examples
Retrieve a head-to-head league's data for the current FPL season, obtained via the leagues h2h standings endpoint.
1 | fpl_get_leagues_h2h(league_id)
|
league_id |
league id (found in a league's page URL on the main FPL site). |
a list
1 | fpl_get_leagues_h2h(league_id = 829116)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.