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.
email_testing
bitbloxhub
email_testing
An interactive, runnable TypeScript val by bitbloxhub
getAllVideosInYoutubePlaylist
supersayan
getAllVideosInYoutubePlaylist
Get All Videos in a Youtube Playlist using the Youtube Data API v3 Reference: https://developers.google.com/youtube/v3/docs/playlistItems/list
getLocationEntities
ryanbateman
getLocationEntities
An interactive, runnable TypeScript val by ryanbateman
googleSheetBatchUpdate
rlesser
googleSheetBatchUpdate
An interactive, runnable TypeScript val by rlesser
getChineseDictionaryAsCSV
byjonathanleung
getChineseDictionaryAsCSV
An interactive, runnable TypeScript val by byjonathanleung
getDict
byjonathanleung
getDict
An interactive, runnable TypeScript val by byjonathanleung
morningDiscEmails
stevekrouse
morningDiscEmails
// set by stevekrouse.morning_disc_collector at 2023-09-21T17:28:33.090Z
testSpeedInsights
stevekrouse
testSpeedInsights
Add robots.text for Google
octokitGraphQLExample
tmcw
octokitGraphQLExample
octokit/graphql This alternative driver for the GitHub API exposes it via GraphQL.
blocks
tmcw
blocks
Unfancy blocks In the old days, there was a website called bl.ocks.org which re-hosted content on GitHub Gists and displayed visualizations made in those gists. It wasn't shiny but it was well-crafted and for the little community that used it, it was very nice. This is a much worse, but very small, version of the same kind of program. This also shows you stuff from blocks. It displays readmes, with Titus's lovely micromark . It uses Ian's collected search index of bl.ocks.org to show you examples and thumbnails. It uses Alpine to pull together a little interface. And, of course, Val Town to make it all work.
gsheet_append_example
mattx
gsheet_append_example
An interactive, runnable TypeScript val by mattx
forceUnsub
mihir
forceUnsub
An interactive, runnable TypeScript val by mihir
vibe_playground
ryanguill
vibe_playground
An interactive, runnable TypeScript val by ryanguill
autoGPTPrompt
stevekrouse
autoGPTPrompt
// fork from https://github.com/Torantulino/Auto-GPT/blob/master/scripts/data/prompt.txt
litExample
tmcw
litExample
lit Lit is kind of like Google's answer to React: it's a little more reliant on browser APIs like custom elements and the shadow DOM, a little less 'magic', like using JSX. This is an example of using Lit and rendering it straight to a string, which is something that's recently popular. It works pretty well, right off the bat: Lit provides nice ESM modules and a pretty smooth workflow!
googleProxy
omgwtfbrblolttyl
googleProxy
An interactive, runnable TypeScript val by omgwtfbrblolttyl