GetLine: Get Lines (Use to get more detail on a single line, but the...

Description Usage Arguments Value Examples

View source: R/GetLine.R

Description

Get Lines (Use to get more detail on a single line, but the GetOdds or showOddsDF versions are intended for large amounts of data)

Usage

1
2
GetLine(sportid, leagueids, eventid, periodnumber, betType, team = NULL,
  side = NULL, handicap = NULL, oddsFormat = "AMERICAN", force = TRUE)

Arguments

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

Value

returns a data frame with columns:

Examples

1
2
3
4
SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
 GetLine(sportId=1,leagueids=191545,eventId=495418854,
 periodNumber=0,team="TEAM1",betType="Moneyline")

marcoblume/pinnacle.API documentation built on Sept. 11, 2019, 4:05 a.m.