Last chance! 50% off unlimited learning
Sale ends in
Get Lines (Use to get more detail on a single line, but the GetOdds or showOddsDF versions are intended for large amounts of data)
GetLine(sportid, leagueids, eventid, periodnumber, betType, team = NULL,
side = NULL, handicap = NULL, oddsFormat = "AMERICAN", force = TRUE)
The sport ID
integer vector of leagueids.
numeric xxxxx
xxxxx
xxxx
xxxx
xxx
xxx
xxx
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
# NOT RUN {
SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetLine(sportId=1,leagueids=191545,eventId=495418854,
periodNumber=0,team="TEAM1",betType="Moneyline")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab