Get Non-Settled Events for a Given Sport
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.
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.
SetCredentials("TESTAPI", "APITEST") AcceptTermsAndConditions(accepted=TRUE) GetFixtures(sportid = 41, leagueids = 191545)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.