Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run//%22$%7BviewSourceLink%7D/%22?q=api&page=1&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 25401 results for "api"(1282ms)

fapian
<("<) <(")> (>")>
Kapil01
erkapil
samvapi
rapilot330
apiv1
apiry
snartapi
vapicxy
stevenvapi
9// Simple test endpoint
10app.get("/test", async (c) => {
11 return c.json({ message: "API routes working", timestamp: new Date().toISOString() });
12});
13
120 const { cleanupStaleViewingSessions } = await import("../../controllers/viewing.controller.ts");
121
122 console.log("🔧 Manual cleanup triggered via API");
123 const result = await cleanupStaleViewingSessions();
124
16
17 const updateStatus = async (viewing: boolean, tabVisible: boolean) => {
18 // Only make API calls if user is authorized
19 if (!isAuthorized) {
20 console.log("User not authorized for viewing analytics on this page");

PixelPixelApiMonitor1 file match

@selfire1•Updated 6 hours ago
Regularly polls the API and messages on an error.

weatherApp1 file match

@dcm31•Updated 12 hours ago
A simple weather app with dropdown cities using Open-Meteo API