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?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 11828 results for "api"(721ms)

myApi2 file matches

@tamlyn•Updated 1 year ago

myApi1 file match

@mojombo•Updated 1 year ago

myApi1 file match

@dace•Updated 1 year ago

pageApi2 file matches

@mgruel•Updated 1 year ago

myApi1 file match

@dng•Updated 1 year ago

myApi2 file matches

@florian•Updated 1 year ago

myApi1 file match

@rolling_coaster•Updated 1 year ago

myApi1 file match

@bcrummy•Updated 1 year ago

myApi1 file match

@mpsuesser•Updated 1 year ago

myApi1 file match

@genevra•Updated 1 year ago

imbue-interviewdictionary.tsx3 matches

@bry•Updated 13 mins ago
1// Dictionary API with direct Gist access and in-memory caching
2
3// Cache variables
19}
20
21// Main API endpoint
22export async function GET(request) {
23 try {
158
159// Example usage:
160// https://api.val.town/v1/run/username.dictionaryApi?page=1&limit=10&startsWith=a

weatherindex.ts2 matches

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