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.
vyatka avatar
vyatka
WebSiteReact
HTTP
Forked from jdan/latLngOfCity
0
tfayyaz avatar
tfayyaz
whiteMongoose
HTTP
Forked from tfayyaz/tahirsTil
0
apitman avatar
apitman
lastlogindemo
HTTP
An interactive, runnable TypeScript val by apitman
0
jamisonl avatar
jamisonl
aloneBronzeCattle
HTTP
Forked from camajudson/handleDiscordInteraction
0
tr3ntg avatar
tr3ntg
googleGenerativeAIStreamingExample
HTTP
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.
1
vesty91 avatar
vesty91
pioneeringAzureChickadee
HTTP
Forked from vesty91/neatChocolateLynx
0
karkowg avatar
karkowg
domainSanta
HTTP
domainSanta Send your domain wishes to Domain Santa! 🌐🎅 https://domainsanta.christmas/
0
alexdphan avatar
alexdphan
testplaywright
Script
// Import Playwright using the Deno-compatible URL
0
pomdtr avatar
pomdtr
lastlogin
Script
Lastlogin Authentication for val.town Looking for an hono integration ? See @pomdtr/lastloginHono Support login in trough: Email Link QR Code Google Oauth Github Oauth Gitlab Oauth Facebook Oauth Demo You can try a demo at https://pomdtr-lastloginhonoexample.web.val.run (see @pomdtr/lastLoginHonoExample for code) Usage Wrap your http handlers in a lastlogin middleware (sessions will be persisted in the lastlogin_session table on your sqlite account). If you want to be the only one able to access your val, you can use @pomdtr/verifyUserEmail. import { lastlogin } from "https://esm.town/v/pomdtr/lastlogin"; import { verifyUserEmail } from "https://esm.town/v/pomdtr/verifyUserEmail"; export default lastlogin((req) => { return new Response(`You are logged in as ${req.headers.get("X-LastLogin-Email")}`); }, { // check that the user email match your val town email verifyEmail: verifyUserEmail }); If you want to customize how is allowed to signup, you can set the verifyEmail option: import { lastlogin } from "https://esm.town/v/pomdtr/lastlogin"; export default lastlogin((req) => { return new Response(`You are logged in as ${req.headers.get("X-LastLogin-Email")}`); }, { verifyEmail: (email) => { email == "steve@valtown" } }); You can allow anyone to signup by returning a boolean from the verifyEmail function: import { lastlogin } from "https://esm.town/v/pomdtr/lastlogin"; export default lastlogin((req) => { return new Response(`You are logged in as ${req.headers.get("X-LastLogin-Email")}`); }, { verifyEmail: (_email) => true }); Public Routes import { lastlogin } from "https://esm.town/v/pomdtr/lastlogin"; import { verifyUserEmail } from "https://esm.town/v/pomdtr/verifyUserEmail"; export default lastlogin(() => { return new Response("Hi!"); }, { verifyEmail: verifyUserEmail, public_routes: ["/", "/public/*"], }); See the URLPattern API for reference. Logout Just redirect the user to /auth/logout
10
movienerd avatar
movienerd
AIMovie
HTTP
Forked from movienerd/originalEmeraldPython
0
stevekrouse avatar
stevekrouse
autoGPTPrompt
Script
// fork from https://github.com/Torantulino/Auto-GPT/blob/master/scripts/data/prompt.txt
0
stevekrouse avatar
stevekrouse
subaudio
HTTP
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
0
vladimyr avatar
vladimyr
googleFavicons
Script
// SPDX-License-Identifier: 0BSD
0
hoa avatar
hoa
a
Script
Forked from marksteve/getEpicTvProduct
0
aibmbegpsohugh avatar
aibmbegpsohugh
cerebras_coder
HTTP
Forked from stevekrouse/cerebras_coder
0
alot1z avatar
alot1z
cerebras_coder
HTTP
Forked from stevekrouse/cerebras_coder
0
â€Ļ
25
â€Ļ
Next