okcoin_api_call | R Documentation |
okcoin_api_call
okcoin_api_call(
url,
key,
signature,
formatted_time,
passphrase,
timeout_seconds = 60
)
url |
the full URL for the API call |
key |
your API key for Okcoin |
signature |
your hashed and encoded signature for Okcoin API calls |
formatted_time |
a string containing the currrent timestamp in ISO 8601 format |
passphrase |
the passphrase which you created when generating your Okcoin API key |
timeout_seconds |
seconds until the query times out. Default is 60. |
returns a dataframe containing the results of your API call
## Not run:
url <- "..."
key <- "..."
path <- "..."
secret <- "..."
formatted_time <- okcoin_time()
method <- "GET"
signature <- okcoin_signature(path, secret, formatted_time, method)
passphrase <- "..."
data <- okcoin_api_call()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.