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.
stevekrouse avatar
lookupTwitterIdFree
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
jamisonl avatar
ruralCrimsonGuppy
@jamisonl
HTTP (deprecated)
Forked from camajudson/handleDiscordInteraction
cofsana avatar
websim
@cofsana
HTTP (deprecated)
Forked from substrate/websim
tfayyaz avatar
whiteMongoose
@tfayyaz
HTTP (deprecated)
Forked from tfayyaz/tahirsTil
tr3ntg avatar
googleGenerativeAIStreamingExample
@tr3ntg
HTTP (deprecated)
Google Generative AI Streaming Example Example Val showing how to set up an authenticated Google GoogleGenerativeAI client. Prerequisite: Follow Google's Getting Started guide to get an API key and view some example methods.
jamisonl avatar
aloneBronzeCattle
@jamisonl
HTTP (deprecated)
Forked from camajudson/handleDiscordInteraction
movienerd avatar
AIMovie
@movienerd
HTTP
Forked from movienerd/originalEmeraldPython
stevekrouse avatar
subaudio
@stevekrouse
HTTP (deprecated)
Forked from substrate/subaudio
stevekrouse avatar
autoGPTPrompt
@stevekrouse
Script
// fork from https://github.com/Torantulino/Auto-GPT/blob/master/scripts/data/prompt.txt
vladimyr avatar
googleFavicons
@vladimyr
Script
// SPDX-License-Identifier: 0BSD
hoa avatar
a
@hoa
Script
Forked from marksteve/getEpicTvProduct
jamisonl avatar
adorableRedChameleon
@jamisonl
HTTP (deprecated)
Forked from camajudson/handleDiscordInteraction
rlesser avatar
getNextSSR
@rlesser
Script
getNextSSR - fetch data from Next.js SSR-based sites Many modern websites use Next.js and Server-side Rendering (SSR) to serve their website and the data to populate it. Instead of standard API calls, this manifests in the browser as calls routed through dynamic endpoints. This val handles the url construction and response parsing, giving you access to the endpoint and data. Input websiteUrl - The website's url, like google.com or val.town let getNextSSR: (websiteUrl: string) => Promise<(endpoint: string) => Promise<Record<string, any>>> Returns fetching function - A function that takes in an endpoint and returns the endpoint's response data: Input endpoint - The endpoint string, like results.json or trending.json?page=2 Returns data - The endpoint response data, without NextJS artifacts. Example const fetch = await @rlesser.getNextSSR("example.com"); const data = fetch("results.json"); return data;
substrate avatar
subaudio
@substrate
HTTP (deprecated)
sub.audio – generate subtitles and chapters for any audio URL. Speech-to-text and chapter summaries powered by Substrate 🪩 To fork, sign up for Substrate to get your own API key and $50 free credits
mattq avatar
dream_interpreter
@mattq
Cron
Forked from horatiothomas/dream_interpreter
muhammad_owais_warsi avatar
QR_Generator
@muhammad_owais_warsi
HTTP
QR Code Generator