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/$2?q=api&page=34&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 18265 results for "api"(769ms)

twitterAPIDown2 file matches

@stevekrouse•Updated 1 year ago

geoffApi2 file matches

@stevekrouse•Updated 1 year ago

myApi1 file match

@klepra•Updated 1 year ago

myApi2 file matches

@augustohp•Updated 1 year ago

figmaAPIURL2 file matches

@rodrigotello•Updated 1 year ago

myApi1 file match

@paulwilkinson•Updated 1 year ago

myApi1 file match

@wesbos•Updated 1 year ago

myApi1 file match

@zokonil•Updated 1 year ago

myApi1 file match

@johannesbraeunig•Updated 1 year ago

myApi1 file match

@imandel•Updated 1 year ago

ai_comments_to_tasksindex.ts4 matches

@arthrod•Updated 13 mins ago
367}
368
369// API endpoint to analyze PR messages with concurrency
370app.post("/api/analyze", async c => {
371 try {
372 const body: AnalysisRequest = await c.req.json();
397
398 // Step 2: Analyze chunks concurrently with batching to avoid rate limits
399 const BATCH_SIZE = 3; // Process 3 chunks at a time to avoid overwhelming the API
400 const chunkAnalyses: ChunkAnalysis[] = [];
401
410 chunkAnalyses.push(...batchResults);
411
412 // Small delay between batches to be respectful to the API
413 if (i + BATCH_SIZE < chunks.length) {
414 await new Promise(resolve => setTimeout(resolve, 100));

ai_comments_to_tasksindex.tsx1 match

@arthrod•Updated 13 mins ago
281
282 try {
283 const response = await fetch("/api/analyze", {
284 method: "POST",
285 headers: {
apiry
snartapi