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=3&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"(958ms)

FetchBasic1 file match

@stevekrouse•Updated 5 months ago

cfetch2 file matches

@temptemp•Updated 5 months ago

brooklynWeatherFetcher1 file match

@jjoak3•Updated 5 months ago

fetchNewPublicGitHubRepos1 file match

@toowired•Updated 5 months ago

fetchXML2 file matches

@g000m•Updated 5 months ago

FetchBasic2 file matches

@julesb22•Updated 6 months ago

FetchBasic_deleted_17295039551 file match

@julesb22•Updated 6 months ago

fetchValInfo2 file matches

@pomdtr•Updated 6 months ago

mlbScoreFetcher1 file match

@charmaine•Updated 6 months ago

ThreadmarkLISTFetcher22 file matches

@willthereader•Updated 7 months ago

Towniesend-message.ts3 matches

@valdottown•Updated 44 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 48 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,