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=9&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"(913ms)

fetchAndParseFeeds2 file matches

@iakovos•Updated 1 year ago

fetchWeatherPrediction1 file match

@jamiedubs•Updated 1 year ago

fetchCongressTradeReports1 file match

@rodrigotello•Updated 1 year ago

fetchHeaders2 file matches

@stevekrouse•Updated 1 year ago

proxyFetch22 file matches

@alp•Updated 1 year ago

fetchFile2 file matches

@Llad•Updated 1 year ago

fetchJSON1 file match

@_•Updated 1 year ago

fetchDateMeProfiles2 file matches

@stevekrouse•Updated 1 year ago

fetchJSON2 file matches

@joey•Updated 1 year ago

fetchWikipediaContent2 file matches

@fab1an•Updated 1 year ago

NowPlayingGrabbermain.tsx2 matches

@micleal•Updated 28 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 54 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);