Description Usage Arguments Examples
Server side component. You supply this with your api credentials.
1 | shinyauth(input, output, session, api_info, response_type = "code")
|
input |
you can ignore this as it is taken care of by shiny |
output |
you can ignore this as it is taken care of by shiny |
session |
you can ignore this as it is taken care of by shiny |
api_info |
A named list of the various api values you need to authenticate. "key", "id", "secret", "url", "token_url" 'https://www.fitbit.com/oauth2/authorize' |
api_key |
your apps personal api key. |
scope |
a vector of what you're requesting access to in the API. See the given api docs for examples. |
1 2 3 4 5 6 | drawChart <- callModule(shinydrawr,
"outbreak_stats",
random_data,
draw_start = 15,
x_key = "time",
y_key = "metric")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.