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=42&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 11853 results for "api"(473ms)

myApi1 file match

@factoriUpdated 1 year ago

myApi1 file match

@jonsibleyUpdated 1 year ago

myApi1 file match

@silversteezUpdated 1 year ago

myApi1 file match

@rykiUpdated 1 year ago

myApi1 file match

@fksUpdated 1 year ago

openapi2TS1 file match

@pomdtrUpdated 1 year ago

myApi1 file match

@abdulamiteUpdated 1 year ago

myApi1 file match

@joakimUpdated 1 year ago

myApi1 file match

@alxndrUpdated 1 year ago

myApi1 file match

@tr3ntgUpdated 1 year ago

news-nowapp.tsx2 matches

@jamiesinclairUpdated 49 mins ago
14app.get("/frontend/**/*", c => serveFile(c.req.path, import.meta.url));
15
16// Add your API routes here
17// app.get("/api/data", c => c.json({ hello: "world" }));
18
19// Unwrap and rethrow Hono errors as the original error

Towniesend-message.ts6 matches

@valdottownUpdated 1 hour ago
26 }
27
28 const { messages, project, branchId, anthropicApiKey, selectedFiles, images } = await c.req.json();
29 // console.log("Original messages:", JSON.stringify(messages, null, 2));
30 // console.log("Images received:", JSON.stringify(images, null, 2));
31
32 const apiKey = anthropicApiKey || Deno.env.get("ANTHROPIC_API_KEY");
33 const our_api_token = apiKey === Deno.env.get("ANTHROPIC_API_KEY");
34
35 if (our_api_token) {
36 if (await overLimit(bearerToken)) {
37 return Response.json("You have reached the limit of Townie in a 24 hour period.", { status: 403 });
42
43 const rowid = await startTrackingUsage({
44 our_api_token,
45 bearerToken, // will look up the userId from this
46 branch_id: branchId,
51
52 const anthropic = createAnthropic({
53 apiKey,
54 });
55
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration