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=14&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"(426ms)

fetchBinance1 file match

@oske•Updated 1 year ago

fetcher2 file matches

@u•Updated 1 year ago

fetchJSON1 file match

@dpetrouk•Updated 1 year ago

fetchestoomuch1 file match

@bitbloxhub•Updated 1 year ago

fetchTextWithEncoding1 file match

@stu43005•Updated 1 year ago

fetchRedditToken1 file match

@mschleske•Updated 1 year ago

proxyFetch2 file matches

@alp•Updated 1 year ago

fetchJSON2 file matches

@val•Updated 1 year ago

handleFetchTextResponse2 file matches

@devdoshi•Updated 1 year ago

proxyFetch52 file matches

@alp•Updated 1 year ago

NowPlayingGrabbermain.tsx2 matches

@micleal•Updated 40 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 1 hour 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);