Description Usage Arguments Value
Tokens received by calling request_token()
expire but can be refreshed by
a simple call to refresh_token()
.
1 2 3 | refresh_token(refresh_token = Sys.getenv("PHILIPS_HUE_REFRESH_TOKEN"),
client_id = Sys.getenv("PHILIPS_HUE_CLIENT_ID"),
client_secret = Sys.getenv("PHILIPS_HUE_CLIENT_SECRET"))
|
refresh_token |
refresh token returned from |
client_id |
your app's client ID (assigned when you registered your app with Hue) |
client_secret |
your app's client secret (assigned when you registered your app with Hue) |
If successful, returns a list with authorization/refresh tokens and expiration times
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.