Learn R Programming

PoloniexR (version 0.0.1)

SetPoloniexPublicURL,PoloniexPublicAPI-method: Setter for REST service URL for the Poloniex public API

Description

Setter for REST service URL for the Poloniex public API

Usage

# S4 method for PoloniexPublicAPI
SetPoloniexPublicURL(theObject, base.url)

Arguments

theObject

The public client API object on which the function should be called

base.url

length-one character vector. Represents the REST service URL.

Value

theObject - a copy of the object with the modified base.url slot

Examples

Run this code
# NOT RUN {
poloniex.public <- PoloniexPublicAPI(base.url = "https://not_working/public?")
poloniex.public <- SetPoloniexPublicURL(poloniex.public,
                                        base.url = "https://poloniex.com/public?")
GetPoloniexPublicURL(poloniex.public)
# }

Run the code above in your browser using DataLab