sign_bdc | R Documentation |
To sign the hrefs with your token you need to store it in an
environment variable in BDC_ACCESS_KEY
or use acess_token
parameter.
sign_bdc(access_token = NULL, ...)
access_token |
a |
... |
additional parameters can be supplied to the |
a function
that signs each item assets.
## Not run:
# STACItemCollection object
stac_obj <- stac("https://brazildatacube.dpi.inpe.br/stac/") %>%
stac_search(collections = "CB4-16D-2",
datetime = "2019-06-01/2019-08-01") %>%
stac_search() %>%
get_request()
# signing each item href
stac_obj %>% items_sign(sign_fn = sign_bdc(access_token = "123"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.