Description Usage Arguments Details Value See Also Examples
View source: R/Blockwatchapi.R
Internal method to execute Blockwatch API calls
1 | blockwatch.api(path, http = c("GET"), postdata = NULL, ...)
|
path |
Path to api resource. |
http |
Type of http request sent. |
postdata |
A character or raw vector that is sent in a body. |
... |
Named values that are interpretted as Blockwatch API parameters. Please see https://blockwatch.cc/docs/api. |
Set your api_key
with blockwatch.api_key
function. For instructions on finding your api key go to https://blockwatch.cc/account/profile#apikey
Blockwatch API response.
1 2 3 4 5 | ## Not run:
blockwatchdata = blockwatch.api(path="series/BITFINEX:OHLCV/BTC_USD", http="GET")
plot(blockwatchdata[,1])
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.