Glimpse2
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
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)
- Should NOT handle environment variables, business logic, or orchestrate multiple calls
- Return consistent
{ success: boolean, data?: any, error?: string }
format
getDatabaseById(id)
- retrieve specific database from NotionsearchNotionDatabases()
- search for all databases