Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

GetLeaguesByID

Get Leagues for Sport(s) by ID


Description

Returns all Leagues for the Sport(s)

Usage

GetLeaguesByID(sportid, force = TRUE)

Arguments

sportid

integer vector of sports IDs

force

boolean whether to get new data (TRUE) or use cached data (FALSE)

Value

a data frame having columns:

  • LeagueID

  • LinesAvailable

  • HomeTeam

  • AllowRoundRobin

  • LeagueName

Examples

SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetLeaguesByID(1)

pinnacle.API

A Wrapper for the Pinnacle API

v2.3.3
GPL-3
Authors
Nicholas Jhirad, Marco Blume, Aaron Jacobs, Amine Gassem
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.