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.
xastscriptExample
tmcw
xastscriptExample
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.
getDateMonth
tmcw
getDateMonth
An interactive, runnable TypeScript val by tmcw
pixelData
stevekrouse
pixelData
// set by stevekrouse.pixel at 2023-09-26T15:50:56.618Z
getVideoInfo
nbbaier
getVideoInfo
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).
loaderSampleAudio
webup
loaderSampleAudio
An interactive, runnable TypeScript val by webup
lookupTwitterIdFree
stevekrouse
lookupTwitterIdFree
An interactive, runnable TypeScript val by stevekrouse
publicDocumentEditor
tr3ntg
publicDocumentEditor
An interactive, runnable TypeScript val by tr3ntg
weddingAPI
schwanksta
weddingAPI
Remix of: mattx/gsheet_append_example
untitled_sapphireSlug
lolocoo
untitled_sapphireSlug
An interactive, runnable TypeScript val by lolocoo
untitled_moccasinWildebeest
rcurtiss
untitled_moccasinWildebeest
@jsxImportSource https://esm.sh/preact
untitled_limeHornet
ingenieroariel
untitled_limeHornet
// investigate how to load duckdb with spatial extensions in this context in order to load buildings from s3.
untitled_blackBoa
stevekrouse
untitled_blackBoa
An interactive, runnable TypeScript val by stevekrouse
44
Next