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 Nov. 17, 2017, 6:30 a.m.