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/$%7Bsuccess?q=fetch&page=12&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=fetch

Returns an array of strings in format "username" or "username/projectName"

Found 14500 results for "fetch"(1411ms)

fetchHeaders22 file matches

@stevekrouseUpdated 1 year ago

fetchHeaders21 file match

@mrahnisUpdated 1 year ago

fetchHtmlDom2 file matches

@aeatonUpdated 1 year ago

fetchReadwiseList1 file match

@ofalvaiUpdated 1 year ago

fetchTable2 file matches

@stevekrouseUpdated 1 year ago

proxyFetch82 file matches

@alpUpdated 1 year ago

fetchGHRepoInfo1 file match

@noartemUpdated 1 year ago

fetchCongressTradeReports1 file match

@nariUpdated 1 year ago

fetchAndStore2 file matches

@talUpdated 1 year ago

fetchCongressTradeReports1 file match

@claytnUpdated 1 year ago

personal_trmnlpolymarket_cron.tsx2 matches

@ramtinalamiUpdated 3 hours ago
16 console.log("⏰ Polymarket cron at", new Date(interval.lastRunAt).toISOString());
17
18 // 1) Fetch markets from Polymarket API
19 const params = new URLSearchParams({
20 closed: "false",
26
27 const url = `https://gamma-api.polymarket.com/markets?${params}`;
28 const raw = await fetch(url).then(r => r.json());
29 const rawJson = JSON.stringify(raw);
30

personal_trmnlmalifold_cron.tsx4 matches

@ramtinalamiUpdated 3 hours ago
11 console.log("⏰ Cron at", new Date(interval.lastRunAt).toISOString());
12
13 // 1) Fetch & cache raw dump
14 const raw = await fetch(RAW_URL).then(r => r.json());
15 const rawJson = JSON.stringify(raw);
16 const prev = await sqlite.execute({
29 .slice(0, 50);
30
31 // 3) Fetch full details for those 50
32 const details = await Promise.all(
33 candidates.map(m => fetch(DETAIL_URL(m.id)).then(r => r.json())),
34 );
35 const detailsMap = new Map(details.map(m => [m.id, m]));