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/$%7Burl%7D?q=api&page=45&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 11715 results for "api"(1359ms)

myApi1 file match

@tannerwj•Updated 1 year ago

myApi1 file match

@evilpaper•Updated 1 year ago

myApi1 file match

@dereko•Updated 1 year ago

exampleAuthApi2 file matches

@stevekrouse•Updated 1 year ago

apiTest1 file match

@maxdrake•Updated 1 year ago

myApi1 file match

@hamza•Updated 1 year ago

myApi1 file match

@threecordguy•Updated 1 year ago

myApi1 file match

@tylergaw•Updated 1 year ago

myApi1 file match

@mgsers•Updated 1 year ago

myAPI1 file match

@haxzie•Updated 1 year ago

EEPMOnitoringApp.tsx4 matches

@solomonferede•Updated 23 mins ago
275==========================*/
276// The server function remains the same as in the previous single-file solution,
277// as it handles API requests and serves the main HTML.
278// Its logic is independent of how the client-side components are structured into files.
279export default async function server(
327 const method = request.method;
328
329 // API Routes (same logic as before)
330 if (path === "/login" && method === "POST") {
331 const body = await request.json();
444 }
445
446 // API endpoint to handle editing a news article
447 if (path === "/edit-news" && method === "PUT") {
448 try {
569 }
570
571 // --- End Media Monitoring Specific API Routes ---
572 // --- NEW ENDPOINT: Generate Weekly Summary ---
573 if (path === "/generate-weekly-summary" && method === "GET") {

glastonewsindex.ts1 match

@bensomething•Updated 2 hours ago
1import process from "node:process";
2import { BskyAgent } from "npm:@atproto/api";
3import fetch from "npm:node-fetch";
4import * as cheerio from "npm:cheerio";
apiv1
papimark21