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

GetLeagues

Get Leagues for Sport(s) by name


Description

Returns all Leagues for the Sport(s)

Usage

GetLeagues(sports, force = TRUE, regex = FALSE)

Arguments

sports

character vector of sports names.

force

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

regex

Default=FALSE, boolean if TRUE , retreives sports id using regular expression on names

Value

a data frame having columns:

  • LeagueID

  • LinesAvailable

  • HomeTeam

  • AllowRoundRobin

  • LeagueName

Examples

SetCredentials("TESTAPI","APITEST")
AcceptTermsAndConditions(accepted=TRUE)
GetLeagues("Badminton")

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.