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=36&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"(1082ms)

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

myApi1 file match

@salman•Updated 1 year ago

incrementAPICounter1 file match

@andreterron•Updated 1 year ago

myApi1 file match

@triggatron•Updated 1 year ago

myApi1 file match

@MattPayneOrg•Updated 1 year ago

checkIfTwitterAPIIsDown2 file matches

@stevekrouse•Updated 1 year ago

imbue-interviewdictionary.tsx3 matches

@bry•Updated 19 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 19 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