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=2&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 8124 results for "fetch"(1131ms)

cookieFetch2 file matches

@gwoods22•Updated 2 months ago

FetchBasic1 file match

@charmaine•Updated 2 months ago

FetchBasic2 file matches

@dtecho•Updated 2 months ago

FetchBasic2 file matches

@gdm•Updated 3 months ago

fetchEvents1 file match

@richardwu9•Updated 3 months ago

ios_AppStoreFetcher1 file match

@arfan•Updated 3 months ago

FetchBasic1 file match

@BunsDev•Updated 3 months ago

fetchBinance1 file match

@svbasi•Updated 3 months ago

gistFetcher1 file match

@tgrecojs•Updated 4 months ago

FetchBasic1 file match

@thesagrotan•Updated 4 months ago

Towniesend-message.ts3 matches

@valdottown•Updated 47 mins ago
79 }
80
81 // If there are selected files, fetch their content and add them to the messages
82 if (selectedFiles && selectedFiles.length > 0) {
83 const vt = new ValTown({ bearerToken });
99 fileContents += `## File: ${filePath}\n\`\`\`\n${fileWithLinesNumbers(content)}\n\`\`\`\n\n`;
100 } catch (error) {
101 console.error(`Error fetching file ${filePath}:`, error);
102 fileContents += `## File: ${filePath}\nError: Could not fetch file content\n\n`;
103 }
104 }

TownieuseAuth.tsx1 match

@valdottown•Updated 52 mins ago
15 // replace all this with oauth when it's ready
16 try {
17 const res = await fetch("/api/user", {
18 headers: {
19 "Authorization": "Bearer " + valTownAPIKey,