Back to APIs list

Notion API examples & templates

Use these vals as a playground to view and fork Notion API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
stevekrouse avatar
magentaTrout
@stevekrouse
HTTP
Forked from stevekrouse/date_me_form
stevekrouse avatar
blogRSS
@stevekrouse
HTTP (preview)
Val Town Blog RSS Feed View live at: https://stevekrouse-blogRSS.web.val.run This val returns an RSS feed of the Val Town Blog . Architecture Fetch and parse the HTML of https://blog.val.town – @stevekrouse.valTownBlogJSON. Create an RSS string out of that array of blog objects – @stevekrouse.valTownBlogRSS. Expose an endpoint that returns that RSS , with appropriate content-type and cache headers – this val, @stevekrouse.blogRSS Notes This is very inefficient. It refetches and re-parses blog.val.town on every single request, modulo some caching via the headers. It would be much more efficient to cache the results of fetching and parsing the Val Town blog, and then only re-fetch it every 10 minutes or so. Instead of fetching and parsing HTML from super.so, we could get this same data from Notion's API, with a val like @stevekrouse.notionGetDatabase.
petermillspaugh avatar
retrievalPractice
@petermillspaugh
Script
Forked from petermillspaugh/spacedRepetition
horatiothomas avatar
dot_com
@horatiothomas
HTTP
Forked from stevekrouse/dot_com
vpontis avatar
dot_com
@vpontis
HTTP (preview)
Forked from stevekrouse/dot_com
stevekrouse avatar
dot_com
@stevekrouse
HTTP (preview)
Forked from stevekrouse/stevekrouse_minimal
vawogbemi avatar
date_me_form
@vawogbemi
HTTP
Forked from stevekrouse/date_me_form
stevekrouse avatar
date_me_form
@stevekrouse
HTTP
@jsxImportSource npm:hono@3/jsx
thomasorlita avatar
stevekrouseRSS
@thomasorlita
HTTP
RSS feed of stevekrouse.com essays
stevekrouse avatar
dateme_form_react
@stevekrouse
Script
Forked from stevekrouse/date_me_form
sohaha avatar
监听链接
@sohaha
Cron
Forked from andreterron/isMyWebsiteDown
stevekrouse avatar
date_me_docs_cache
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
stevekrouse avatar
dateMeDocs
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
jonathan avatar
untitled3740476
@jonathan
Script
An interactive, runnable TypeScript val by jonathan
stevekrouse avatar
untitled_TeCzFPJC
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
nbbaier avatar
untitled_tomatoUnicorn
@nbbaier
HTTP
Forked from stevekrouse/sqlite_admin
3
Next