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=fetch&page=7&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 8145 results for "fetch"(786ms)

fetch2 file matches

@std•Updated 1 year ago

fetchNewestVals1 file match

@vladimyr•Updated 1 year ago

fetchVal1 file match

@vladimyr•Updated 1 year ago

fetchText2 file matches

@vladimyr•Updated 1 year ago

fetchJSON2 file matches

@vladimyr•Updated 1 year ago

fetchJSON1 file match

@pomdtr•Updated 1 year ago

resilientFetch2 file matches

@easrng•Updated 1 year ago

fetchJSON_example2 file matches

@stevekrouse•Updated 1 year ago

fetchJSON_example2 file matches

@vladimyr•Updated 1 year ago

fetchBlueskyPost2 file matches

@vladimyr•Updated 1 year ago

NowPlayingGrabbermain.tsx2 matches

@micleal•Updated 24 mins ago
12 const basic = Buffer.from(`${client_id}:${client_secret}`).toString("base64");
13
14 const response = await fetch(TOKEN_ENDPOINT, {
15 method: "POST",
16 headers: {
31 const { access_token } = await getAccessToken(client_id, client_secret, refresh_token);
32
33 const response = await fetch(NOW_PLAYING_ENDPOINT, {
34 headers: {
35 Authorization: `Bearer ${access_token}`,

templateTwitterAlertmain.tsx1 match

@divya88•Updated 49 mins ago
19 : Math.floor((Date.now() - 2 * 24 * 60 * 60 * 1000) / 1000);
20
21 // Fetch and log tweets
22 const response = await socialDataSearch(`${query} since_time:${timeFrame}`);
23 console.log("Response from socialDataSearch:", response);