bfRequest: bfRequest

Description Usage Arguments Details Value Author(s) References See Also

View source: R/funcs.R

Description

Send the request to betfair and checks for resulting errors.

Usage

1
2
3
bfRequest(mess, action, header,
  url = "https://api.betfair.com/global/v3/BFGlobalService",
  curlOpts = list())

Arguments

mess

A correctly formated xml message (as returned by bfBuildMessage)

action

Name of an betfair API function

header

an optional httpheader

url

service url

curlOpts

Rcurl options, see 'curlPerform' for details

Details

Used in .bfRequestInternal.

Value

'bfSimpleOutput' object, xml node or S4 object, as specified by the output parameter

Author(s)

Vitalie Spinu (spinuvit@gmail.com)

References

https://docs.developer.betfair.com/betfair/

See Also

'betfairly-package' 'bfBuildMessage'


vspinu/betfairly documentation built on May 3, 2019, 7:08 p.m.