Back to APIs list

Airtable API examples & templates

Use these vals as a playground to view and fork Airtable API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
stnkvcs avatar
stnkvcs
getAirtableDataAPI
HTTP
// Initialize Airtable configuration
0
yawnxyz avatar
yawnxyz
airtablesemanticsearch
HTTP
Forked from yawnxyz/buildclubProjectSearch
0
mattx avatar
mattx
airtable_get_sample
Script
An interactive, runnable TypeScript val by mattx
0
steveb1313 avatar
steveb1313
GetPelotonWorkoutsAndSaveToAirTable
Script
An interactive, runnable TypeScript val by steveb1313
0
mattx avatar
mattx
airtable_deno_sample
Script
An interactive, runnable TypeScript val by mattx
0
hello_mikkie avatar
hello_mikkie
myTable
HTTP
// Sample data from: https://blog.airtable.com/database-vs-spreadsheet/
0
cingozilyas avatar
cingozilyas
sweetAzureFinch
Script
An interactive, runnable TypeScript val by cingozilyas
0
yawnxyz avatar
yawnxyz
buildclubProjectSearch
HTTP
Use embeddings / Lunr search on Airtable. Embeddings need to have been generated / stored on Airtable, or this gets very slow / costly. Simple usage: https://yawnxyz-buildclubprojectsearch.web.val.run/search?query=cars Full GET request: https://yawnxyz-buildclubprojectsearch.web.val.run/search?query=your+search+query&similarity_threshold=0.8&max_results=5&base_id=your_base_id&table_name=your_table_name&content_column=your_content_column&embedding_column=your_embedding_column
0
bansal avatar
bansal
kickstart_feedback
HTTP
@jsxImportSource https://esm.sh/react
0
andreterron avatar
andreterron
receive_email
Script
An interactive, runnable TypeScript val by andreterron
0
devonzuegel avatar
devonzuegel
subscribe_to_a_substack
Script
// I was able to get this script to work from my browser console, but
0
devonzuegel avatar
devonzuegel
subscribe_to_a_substack_2
Script
Forked from bensu/subscribe_to_a_substack
0
bensu avatar
bensu
subscribe_to_a_substack
Script
Forked from devonzuegel/subscribe_to_a_substack
0
yawnxyz avatar
yawnxyz
coverpatch
Script
// import { covertest as test } from "../covertest/covertest.ts";
0
nbbaier avatar
nbbaier
sqliteExplorerApp
HTTP
SQLite Explorer View and interact with your Val Town SQLite data. It's based off Steve's excellent SQLite Admin val, adding the ability to run SQLite queries directly in the interface. This new version has a revised UI and that's heavily inspired by LibSQL Studio by invisal . This is now more an SPA, with tables, queries and results showing up on the same page. Install Install the latest stable version (v86) by forking this val: Authentication Login to your SQLite Explorer with password authentication with your Val Town API Token as the password. Todos / Plans [ ] improve error handling [ ] improve table formatting [ ] sticky table headers [x] add codemirror [ ] add loading indication to the run button (initial version shipped) [ ] add ability to favorite queries [ ] add saving of last query run for a table (started) [ ] add visible output for non-query statements [ ] add schema viewing [ ] add refresh to table list sidebar after CREATE/DROP/ALTER statements [ ] add automatic execution of initial select query on double click [x] add views to the sidebar [ ] add triggers to sidebar [ ] add upload from SQL, CSV and JSON [ ] add ability to connect to a non-val town Turso database [x] fix wonky sidebar separator height problem (thanks to @stevekrouse) [x] make result tables scrollable [x] add export to CSV, and JSON (CSV and JSON helper functions written in this val . Thanks to @pomdtr for merging the initial version!) [x] add listener for cmd+enter to submit query
20
sarahxc avatar
sarahxc
slackScout
Cron
Slack scout sends a slack notification every time your keywords are mentioned on Twitter, Hacker News, or Reddit. Get notified whenever you, your company, or topics of interest are mentioned online. Built with Browserbase . Inspired by f5bot.com . Full code tutorial . Getting Started To run Slack Scout, you’ll need a Browserbase API key Slack Webhook URL: setup here Twitter Developer API key Browserbase Browserbase is a developer platform to run, manage, and monitor headless browsers at scale. We’ll use Browserbase to navigate to, and scrape our different news sources. We’ll also use Browserbase’s Proxies to ensure we simulate authentic user interactions across multiple browser sessions . Get started with Browserbase for free here . Twitter We’ve decided to use the Twitter API to include Twitter post results. It costs $100 / month to have a Basic Twitter Developer account. If you decide to use Browserbase, we can lend our token. Comment below for access. Once you have the SLACK_WEBHOOK_URL , BROWSERBASE_API_KEY , and TWITTER_BEARER_TOKEN , input all of these as Val Town Environment Variables . Project created by Sarah Chieng and Alex Phan 💌
14