glimpse2-runbook
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data β all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v19View latest version
External API integrations (pure API calls only).
- Single-purpose functions that make direct API calls to external systems
- Pure functions that handle HTTP transport layer (response.ok)
- Return consistent
{ success: boolean, data?: any, error?: string }format - Should NOT handle environment variables, business logic, or orchestrate multiple calls
getDatabaseById(id)- Get a specific databasesearchNotionDatabases()- Search for databases