Learn R Programming

pinnacle.API (version 1.90)

GetFixtures: Get Fixtures

Description

Get Fixtures

Usage

GetFixtures(sportname, leagueIds, since = NULL, isLive = 0)

Arguments

sportname
The sport name for which to retrieve the fixtures
leagueIds
integer vector with league IDs.
since
Default=NULL, numeric This is used to receive incremental updates. Use the value of last from previous fixtures response.
isLive
Default=FALSE, boolean if TRUE retrieves ONLY live events if FALSE retrieved all events

Value

returns a data frame with columns:
  • SportID
  • Last
  • League
  • LeagueID
  • EventID
  • StartTime
  • HomeTeamName
  • AwayTeamName
  • Rotation Number
  • Live Status
  • Status
  • Parlay Status

Examples

Run this code

SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetFixtures(sportname = "Badminton",leagueIds = 191545)

Run the code above in your browser using DataLab