Description Usage Arguments Examples
General market data can be accessed here.
1 | GetMarketData(params)
|
params |
Any parameter accepted by this web service call – see here |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | params <- list (currency="USD")
tryCatch(
usd <- GetMarketData (params),
error =
function (e) {
print (
paste (
"An exception was thrown -- details follow: ",
e,
sep=""
)
)
}
)
|
Loading required package: RJSONIO
Loading required package: RCurl
Loading required package: bitops
[1] "An exception was thrown -- details follow: Error in function (type, msg, asError = TRUE) : Could not resolve host: api.bitcoincharts.com\n"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.