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

GetSpecialOdds

Get Special Odds


Description

Get Special Odds

Usage

GetSpecialOdds(sportid, leagueids = NULL, since = NULL,
  oddsformat = "AMERICAN", tableformat = "clean", force = TRUE)

Arguments

sportid

(optional) The sport id for which to retrieve the fixutres

leagueids

(optional) integer vector of leagueids.

since

(optional) numeric This is used to receive incremental updates. Use the value of last from previous response.

oddsformat

default AMERICAN, see API manual for more options

tableformat
  • 'clean' default should return each contestant records

  • 'long' for a single record for each spread/total on an event,

  • 'wide' for all lines as one record,

  • 'subtables' all lines for spreads/totals stored as nested tables

force

boolean if FALSE, functions using cached data will use the values since the last force

Value

data.frame of odds

Examples

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

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.