kucoin_signature | R Documentation |
kucoin_signature
kucoin_signature(api_secret, time, method, path, body)
api_secret |
your Kucoin API secret |
time |
a timestamp string formatted the way Kucoin requires. This can be created with the "kucoin_time" function. |
method |
"GET" or "POST" |
path |
the endpoint you are using to make an API call. |
body |
needs to be a json string which matches url parameters. Use a blank string if not applicable. |
returns a signature for use in you Kucoin API calls.
## Not run:
api_secret <- "..."
time <- kucoin_time()
method <- "GET"
path <- "/api/v1/sub/user"
body <- ""
sig <- kucoin_signature(api_secret, time, method, path, body)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.