Learn R Programming

pinnacle.API (version 1.90)

GetSports: Get Sports

Description

Returns all sports with the status whether they currently have lines or not

Usage

GetSports(force = FALSE)

Arguments

force
Default=FALSE, boolean if TRUE force a reload of the data if FALSE use cached data

Value

a data frame with these columns:
  • SportID
  • LinesAvailable
  • SportName

Examples

Run this code

SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetSports()

Run the code above in your browser using DataLab