Description Usage Arguments Value
Whitelist your app and receive a username
1 2 | request_app_username(token = Sys.getenv("PHILIPS_HUE_ACCESS_TOKEN"),
app_id = Sys.getenv("PHILIPS_HUE_APP_ID"))
|
token |
token returned from |
app_id |
your app's ID (the name you registered your app under) |
Adds your app ID to the list of whitelisted apps on the user's bridge and returns a username that can be used to authenticate future requests.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.