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=38&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"(701ms)

myApi1 file match

@destroytoday•Updated 1 year ago

satsNameApi1 file match

@ryanwaits•Updated 1 year ago

myApi1 file match

@willye•Updated 1 year ago

myApi1 file match

@eufracio•Updated 1 year ago

myApi1 file match

@sudocss•Updated 1 year ago

myApi1 file match

@turtlebits•Updated 1 year ago

myApi1 file match

@csellis•Updated 1 year ago

myApi1 file match

@mmcc•Updated 1 year ago

myApi1 file match

@alexwarth•Updated 1 year ago

capitalizeWord1 file match

@mkeller7•Updated 1 year ago

ai_comments_to_tasksindex.ts4 matches

@arthrod•Updated 20 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 20 mins ago
281
282 try {
283 const response = await fetch("/api/analyze", {
284 method: "POST",
285 headers: {
snartapi
apiry