GetMyData: GetMyData function from Historic API

View source: R/GetMyData.R

GetMyDataR Documentation

GetMyData function from Historic API

Description

The GetMyData function returns a data frame of all Betfair historic data available to download for the logged in user. The user must first 'purchase' such historic data from Betfair. The Basic Plan offers many options at no cost.

Usage

GetMyData(sslVerify = TRUE)

Arguments

sslVerify

Boolean. This argument defaults to TRUE and is optional. In some cases, where users have a self signed SSL Certificate, for example they may be behind a proxy server, Betfair will fail login with "SSL certificate problem: self signed certificate in certificate chain". If this error occurs you may set sslVerify to FALSE. This does open a small security risk of a man-in-the-middle intercepting your login credentials.

Value

Response from Betfair will be stored in a four column dataframe.

See Also

https://historicdata.betfair.com/#/home

https://historicdata.betfair.com/#/apidocs

loginBF, which must be executed first, as this function requires a valid session token.

Examples

  ## Not run: 
  # Retrieve a list of all Betfair historic data available to download
  # for the logged in user.

  GetMyData()
 
## End(Not run)

phillc73/abettor documentation built on June 10, 2022, 4:43 p.m.