Back to APIs list

Google Sheets API examples & templates

Use these vals as a playground to view and fork Google Sheets API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
syncretizm avatar
youtubeEndpoint
@syncretizm
HTTP (deprecated)
An interactive, runnable TypeScript val by syncretizm
ryanbateman avatar
getLocationEntities
@ryanbateman
Script
An interactive, runnable TypeScript val by ryanbateman
nbbaier avatar
extension_config
@nbbaier
Script
An interactive, runnable TypeScript val by nbbaier
all avatar
Countdown2
@all
HTTP (deprecated)
// This val will serve an HTML countdown timer to April 14, 2025.
mauriciobc avatar
MiauFood
@mauriciobc
HTTP
// This approach uses Val Town's Blob storage for persistence and a simple HTML interface.
ajax avatar
resume
@ajax
Script
// set by ajax.resumeHtml at 2023-06-07T20:30:59.005Z
horatiothomas avatar
dream_interpreter
@horatiothomas
Cron
interpret your dream
cofsana avatar
townGen
@cofsana
HTTP
Forked from all/townGen
dglazkov avatar
servicefactory
@dglazkov
Script
A helper to create an HTTP endpoint that conforms to the Breadboard Service Endpoint (BSE) protocol. See https://www.val.town/v/dglazkov/googlenews for sample usage. For more information, see Breadboard service node .
stevekrouse avatar
testSpeedInsights
@stevekrouse
Script
Add robots.text for Google
iamseeley avatar
react_tldraw
@iamseeley
HTTP (deprecated)
Forked from tfayyaz/react_tldraw
dglazkov avatar
bbaas
@dglazkov
Script
Breadboard As a Service A simple board runner that allows hosting board as a service. The service can be public (accessible to everyone) or private (locked behind a service key). See chatbot example for a public service and generatevoice for private. Make sure to add all the necessary secrets to your environment variables. The resulting HTTP endpoint can be then used as a Service URL for Core Kit's service node.
tmcw avatar
xastscriptExample
@tmcw
Script
xastscript xastscript is a great way to safely generate XML from within JavaScript - it provides a sort of 'Domain Specific Language' for building XML trees, and then you can encode that into XML using xast-util-to-xml . For example, we at Val Town use xastscript and these utilities to generate our sitemap.xml file for Google to discover vals.
nbbaier avatar
getVideoInfo
@nbbaier
Script
Get YT Video Information Given a youtube video url, this val returns a small amount of information about the video: title, channel title, and the description. It uses the Youtube Data API v3, so you need to bring your own API key to get it to work (see here about setting up an API key).
arthrod avatar
tryingciceroagain
@arthrod
HTTP
@jsxImportSource https://esm.sh/react
yawnxyz avatar
nighthawksChat
@yawnxyz
HTTP (deprecated)
It's Late. Get a drink. Have a chat. Welcome to Nighthawks. Nighthawks is an experiment in building interesting NPC characters with AI. The system combines large language models, simulates conversations using character sheets, and attempts to build memories based on the conversation. Improvise, have fun. Approach them like you would at a late night diner. Inspired by the Nighthawks painting. Built on a stripped down agent-based memory system.