Description Usage Arguments References Examples
View source: R/generate_token.R
Generate an access token
1 | generate_token(client_id, client_secret, expiration = "60")
|
client_id |
ID for the ArcGIS REST API |
client_secret |
Secret for the ArcGIS REST API |
expiration |
The length of time the token should last in minutes |
https://developers.arcgis.com/
1 2 3 4 5 6 7 | ## Not run:
client_id <- "your client id"
client_secret <- "your client secret"
generate_token(client_id, client_secret)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.