Description Usage Arguments Details Value See Also Examples
Queries the event listing for a given sport, which can be filtered by league and/or event ID, and narrowed to include only live events.
1 2 | GetFixtures(sportid, leagueids = NULL, eventids = NULL, since = NULL,
islive = FALSE)
|
sportid |
An integer giving the sport. If this is missing in interactive mode, a menu of options is presented to the user. |
leagueids |
A vector of league IDs, or |
eventids |
A vector of event IDs, or |
since |
To receive only listings updated since the last query, set
|
islive |
When |
This function will raise an error if the API does not return HTTP status
OK
. For information on the possible errors, see the API documentation
for Get Fixtures.
A data frame with rows containing matching events and columns containing sport, league, and event information. Not all sports return the same listing format – in particular, only baseball listings will have pitcher information.
See GetSettledFixtures
to retrieve settled events, or
GetSpecialFixtures
to retrieve special contestants for a sport.
1 2 3 | SetCredentials("TESTAPI", "APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetFixtures(sportid = 41, leagueids = 191545)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.