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 NULL.
eventids
A vector of event IDs, or NULL.
since
To receive only listings updated since the last query, set
since to the value of last from the previous fixtures
response. Otherwise it will query all listings.
islive
When TRUE, retrieve only live events.
Value
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.
Details
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.
# NOT RUN {SetCredentials("TESTAPI", "APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetFixtures(sportid = 41, leagueids = 191545)
# }# NOT RUN {# }