You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$2?q=api&page=46&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 18109 results for "api"(712ms)
63});
6465// API endpoint to get specific file content
66app.get("/:zon/:file/raw", async (c: Context) => {
67const { zon, file } = c.req.param();
63});
6465// API endpoint to get specific file content
66app.get("/:zon/:file/raw", async (c: Context) => {
67const { zon, file } = c.req.param();