Skip to contents

Build an app

spigot_app()
Create a Shiny app with a plumber API mounted inside it
spigot_page()
A page rendered from a whisker template
spigot_blueprint()
A blueprint: pages, an API and files that belong together
spigot_api()
Build the API router

Sessions, push and reactivity

Use these inside endpoints and server functions.

spigot_session()
The Shiny session bound to an API request
spigot_emit() spigot_broadcast()
Push an event to browser tabs
spigot_trigger()
Set a Shiny input from an endpoint

Helpers

spigot_json()
Serialise a value to JSON the spigot way
spigot_dependency()
The spigot.js browser client as an HTML dependency
run_example()
Run a bundled example app