Description Usage Arguments Value See Also Examples
Queries the event listing for a given sport and the odds offered on each event. This query can be filtered by league and/or event ID, and narrowed to include only live events.
1 2 3 |
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 |
Used to receive incremental odds updates. See
|
islive |
When |
force |
Currently ignored. |
tableformat |
The format of the odds. See |
namesLength |
The number of identifiers to use in the names. |
attachLeagueInfo |
When |
oddsformat |
Format for the returned odds. See |
fixtures_since |
Used to receive incremental fixture updates. See
|
A data frame combining odds and fixtures data, containing NA
s where
levels of factors do not have a value. Example of the naming convention:
spread.altLineId.N
is the altLineId
associated with
spread.hdp.(N+1)
, whereas spread.hdp
refers to the mainline.
spread.altLineId
is the first alternate, and equivalent to
spread.altLineId.0
.
See GetOdds
, GetFixtures
, and
GetInrunning
for the underlying API requests.
1 2 3 4 | SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
# Run without arguments, it will prompt you for the sport
showOddsDF()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.