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/$%7Burl%7D?q=api&page=11&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 19701 results for "api"(1329ms)

valCoinApi2 file matches

@aggy•Updated 7 months ago

graphqlAPIEndpoint2 file matches

@flesch•Updated 7 months ago

sendxmppapi1 file match

@singpolyma•Updated 7 months ago

api2 file matches

@campsite•Updated 8 months ago

strivingSilverTapir1 file match

@dcm31•Updated 8 months ago

api

@romanewmedia•Updated 8 months ago

pageSpeedAPI1 file match

@eligosmlytics•Updated 8 months ago

getAirtableDataAPI1 file match

@stnkvcs•Updated 8 months ago

stockAPI2 file matches

@pete•Updated 8 months ago

arenaApiExample2 file matches

@deblina•Updated 8 months ago

Townieval-summary.ts3 matches

@ianmenethil•Updated 1 hour ago
18 SUM(num_images) as total_images
19 FROM ${USAGE_TABLE}
20 WHERE val_id = ? AND our_api_token = 1
21 GROUP BY val_id
22 `, [valId]);
34 FROM ${INFERENCE_CALLS_TABLE} i
35 JOIN ${USAGE_TABLE} u ON i.usage_id = u.id
36 WHERE u.val_id = ? AND u.our_api_token = 1
37 GROUP BY u.val_id
38 `, [valId]);
41 const requestsResult = await sqlite.execute(`
42 SELECT * FROM ${USAGE_TABLE}
43 WHERE val_id = ? AND our_api_token = 1
44 ORDER BY timestamp DESC
45 `, [valId]);

Townieval-detail.ts1 match

@ianmenethil•Updated 1 hour ago
18 finish_reason?: string;
19 num_images?: number;
20 our_api_token: boolean;
21}
22
apiry
snartapi