Back to APIs list

Google Drive API examples & templates

Use these vals as a playground to view and fork Google Drive API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
tr3ntg avatar
publicDocumentEditor
@tr3ntg
Script
An interactive, runnable TypeScript val by tr3ntg
lolocoo avatar
googlesearch
@lolocoo
Express
An interactive, runnable TypeScript val by lolocoo
vladimyr avatar
googleFavicons
@vladimyr
Script
// SPDX-License-Identifier: 0BSD
vladimyr avatar
googleFeelingLucky
@vladimyr
HTTP
Google Feeling Lucky auto-redirect !lucky DuckDuckGo !Bangs offer the following shortcuts for Google's Feeling Lucky (going straight to the first result) search option: !fl - http://www.google.com/search?btnI&q={{{s}}} !gifl - http://google.com/search?btnI=1&q={{{s}}} !gluck - http://www.google.com/search?q={{{s}}}&btnI !lucky - http://www.google.com/search?q={{{s}}}&btnI Unfortunately, they don't work anymore due to redirect notices that get shown. This service enables you to skip redirect notice by altering your search from the original query e.g.: https://www.google.com/search?q=site:developer.mozilla.org+Object.hasOwn&btnI To the modified one made against this val's HTTP endpoint: https://vladimyr-googlefeelinglucky.web.val.run/?q=site:developer.mozilla.org+Object.hasOwn Additionally, you can define custom search shortcut inside your browser to allow a local bang-like experience: Name: Google Feeling Lucky Shortcut: !lucky URL with %s in place of query: https://vladimyr-googlefeelinglucky.web.val.run/?q=%s
tr3ntg avatar
googleGenerativeAIStreamingExample
@tr3ntg
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.
pomdtr avatar
dumpValTownToMainframe
@pomdtr
Cron
An interactive, runnable TypeScript val by pomdtr
Glench avatar
googlePhotosMarketingRSS
@Glench
HTTP
An interactive, runnable TypeScript val by Glench
stevekrouse avatar
browserbase_google_concerts
@stevekrouse
Script
// Navigate to Google
yawnxyz avatar
lucia_middleware
@yawnxyz
Script
Forked from stevekrouse/lucia_middleware
byjonathanleung avatar
getDict
@byjonathanleung
Script
An interactive, runnable TypeScript val by byjonathanleung
bernat avatar
requestGoogleNgram
@bernat
Script
An interactive, runnable TypeScript val by bernat
mrdrone avatar
sqliteExplorerApp
@mrdrone
HTTP
Forked from nbbaier/sqliteExplorerApp
quelvah avatar
browserbase_google_concerts
@quelvah
Script
Forked from stevekrouse/browserbase_google_concerts
stevekrouse avatar
geocode
@stevekrouse
HTTP (preview)
Forked from sharanbabu/legitimateTanTiger
tempguy avatar
anime
@tempguy
HTTP
@jsxImportSource npm:hono@3/jsx
stevekrouse avatar
morningDiscEmails
@stevekrouse
Script
// set by stevekrouse.morning_disc_collector at 2023-09-21T17:28:33.090Z