Learn R Programming

pinnacle.API (version 2.3.3)

GetSports: Get Sports

Description

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

Usage

GetSports(force = TRUE)

Arguments

force

Default=TRUE, 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
# NOT RUN {
SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetSports()
# }

Run the code above in your browser using DataLab