Description Usage Arguments Value Examples
Get Lines (Use to get more detail on a single line, but the GetOdds or showOddsDF versions are intended for large amounts of data)
1 2 |
sportid |
The sport ID |
leagueids |
integer vector of leagueids. |
eventid |
numeric xxxxx |
periodnumber |
xxxxx |
betType |
xxxx |
team |
xxxx |
side |
xxx |
handicap |
xxx |
oddsFormat |
xxx |
force |
passed along to GetSports |
returns a data frame with columns:
SportID
Last
League
LeagueID
EventID
StartTime
HomeTeamName
AwayTeamName
Rotation Number
Live Status
Status
Parlay Status
1 2 3 4 | SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetLine(sportId=1,leagueids=191545,eventId=495418854,
periodNumber=0,team="TEAM1",betType="Moneyline")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.