inst/embed/ui.R

library(shiny)
library(googleAuthR)

## ui.R
ui <- fluidPage(
  gar_auth_jsUI("js_token"),
  textInput("url", "Enter URL"),
  actionButton("submit", "Shorten URL"),
  textOutput("short_url")
)

Try the googleAuthR package in your browser

Any scripts or data that you put into this service are public.

googleAuthR documentation built on May 30, 2017, 2:10 a.m.