bfInitClasses: Initialize betfair S4 interface

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

View source: R/funcs.R

Description

All betfair functions are capable of producing a valid S4 object corresponding to betfair SOAP specification.
For parsimony reasons the betfair S4 classes are not installed with the package. You need to run bfInitClasses() to initialize them. Note that XMLSchema package is required for this initialization.

Usage

1
bfInitClasses(verbose = FALSE, where = .GlobalEnv)

Arguments

verbose

Print info message for each class

where

Environment in which to store the class definitions; defaults to global environment.

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' 'bfSimpleOutput-class'

Examples

1
2
3
4
5
6
## Not run: 
install.packages("XMLSchema", repos = "http://www.omegahat.org/R")  ## windows binaries?
install.packages("XMLSchema", repos = "http://www.omegahat.org/R", type = "source")  ## from source
bfInitClasses()

## End(Not run)

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