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/image-url.jpg%20%22Optional%20title%22?q=api&page=9&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 11721 results for "api"(910ms)

spacexapi1 file match

@moe•Updated 8 months ago

calculateTransitAPI2 file matches

@rochambeau314•Updated 8 months ago

httpApiScreenshotPageExample

@browserbase•Updated 8 months ago

denoBlogAPI

@roramigator•Updated 8 months ago

lootGenAPI1 file match

@roramigator•Updated 8 months ago

api1 file match

@iamseeley•Updated 8 months ago

fuchsiaTapir

@tempguy•Updated 9 months ago

smallboatsapi1 file match

@joseph_c100•Updated 9 months ago

tracksAPI1 file match

@dthyresson•Updated 9 months ago

bearObservationsAPI1 file match

@chrisco•Updated 10 months ago

EEPMOnitoringweeklyReport.tsx2 matches

@solomonferede•Updated 30 mins ago
371 headers.map(field => {
372 const value = row[field] == null ? "" : String(row[field]);
373 // Basic CSV escaping: replace " with "" and wrap field in quotes if it contains , " or newline
374 const needsQuotes = /[,"\n]/.test(value);
375 const escapedValue = value.replace(/"/g, "\"\"");
865 headers.map(field => {
866 const value = row[field] == null ? "" : String(row[field]);
867 // Basic CSV escaping: replace " with "" and wrap field in quotes if it contains , " or newline
868 const needsQuotes = /[,"\n]/.test(value);
869 const escapedValue = value.replace(/"/g, "\"\"");

EEPMOnitoringApp.tsx4 matches

@solomonferede•Updated 55 mins ago
294==========================*/
295// The server function remains the same as in the previous single-file solution,
296// as it handles API requests and serves the main HTML.
297// Its logic is independent of how the client-side components are structured into files.
298export default async function server(
346 const method = request.method;
347
348 // API Routes (same logic as before)
349 if (path === "/login" && method === "POST") {
350 const body = await request.json();
463 }
464
465 // API endpoint to handle editing a news article
466 if (path === "/edit-news" && method === "PUT") {
467 try {
588 }
589
590 // --- End Media Monitoring Specific API Routes ---
591 // --- NEW ENDPOINT: Generate Weekly Summary ---
592 if (path === "/generate-weekly-summary" && method === "GET") {
apiv1
papimark21