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=23&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 18047 results for "api"(568ms)

myApiAdd2 file matches

@acmu•Updated 1 year ago

myApi1 file match

@inlustra•Updated 1 year ago

myApi1 file match

@robertoloja•Updated 1 year ago

myApi1 file match

@benfwalla•Updated 1 year ago

myApi1 file match

@siveshs•Updated 1 year ago

myApi1 file match

@garcila•Updated 1 year ago

api1 file match

@uuz•Updated 1 year ago

myApi1 file match

@codingjlu•Updated 1 year ago

myApi1 file match

@stordahl•Updated 1 year ago

myApi2 file matches

@cihad•Updated 1 year ago

leximain.tsx2 matches

@legal•Updated 46 mins ago
466 } else { return content; }
467 } catch (error) {
468 console.error(`${agentName} OpenAI API call failed:`, error);
469 let errMsg = "AI communication error.";
470 if (error.message) errMsg += ` Details: ${error.message}`;
471 if (error.cause) errMsg += ` Cause: ${error.cause}`;
472 log.push({ agent: agentName, type: "error", message: errMsg });
473 return { error: "AI_API_ERROR", message: errMsg, details: error.toString() };
474 }
475 }

intentmain.tsx2 matches

@legal•Updated 56 mins ago
222 }
223 } catch (error) {
224 console.error(agentName, "OpenAI API call error:", error);
225 let errMsg = "AI communication error.";
226 if (error.message) errMsg += ` Message: ${error.message}`;
227 if (error.cause) errMsg += ` Cause: ${JSON.stringify(error.cause)}`;
228 log.push({ agent: agentName, type: "error", message: errMsg });
229 return { error: "AI_API_ERROR", message: errMsg, details: error.toString() };
230 }
231}
Kapil01
apiv1