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/image-url.jpg%20%22Image%20title%22?q=fetch&page=942&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 13558 results for "fetch"(8130ms)

kanbanTodoListmain.tsx9 matches

@stevekrouse•Updated 4 months ago
40
41 useEffect(() => {
42 fetchTasks();
43 loadUserPreferences();
44 }, []);
72 }
73
74 async function fetchTasks() {
75 try {
76 const response = await fetch("/get-tasks");
77 const data = await response.json();
78 setTaskLists(data);
79 } catch (error) {
80 console.error("Error fetching tasks", error);
81 }
82 }
86
87 try {
88 const response = await fetch("/add-task", {
89 method: "POST",
90 headers: { "Content-Type": "application/json" },
107
108 try {
109 const response = await fetch("/move-task", {
110 method: "POST",
111 headers: { "Content-Type": "application/json" },
125 async function removeTask(taskId, column) {
126 try {
127 const response = await fetch("/delete-task", {
128 method: "POST",
129 headers: { "Content-Type": "application/json" },
142
143 try {
144 const response = await fetch("/move-task", {
145 method: "POST",
146 headers: { "Content-Type": "application/json" },
174 if (!editedTaskText.trim() || !taskBeingEdited) return;
175 try {
176 const response = await fetch("/update-task", {
177 method: "POST",
178 headers: { "Content-Type": "application/json" },

cerebras_codermain.tsx1 match

@Danap•Updated 4 months ago
73
74 try {
75 const response = await fetch('/generate', {
76 method: 'POST',
77 headers: { 'Content-Type': 'application/json' },

preciseScarletHerringmain.tsx1 match

@stevekrouse•Updated 4 months ago
20
21 try {
22 const response = await fetch("/chat", {
23 method: "POST",
24 headers: { "Content-Type": "application/json" },

cerebrasTemplatemain.tsx1 match

@stevekrouse•Updated 4 months ago
20
21 try {
22 const response = await fetch("/chat", {
23 method: "POST",
24 headers: { "Content-Type": "application/json" },

victoriousGreenLynxmain.tsx1 match

@stevekrouse•Updated 4 months ago
27
28 try {
29 const response = await fetch("/chat", {
30 method: "POST",
31 headers: { "Content-Type": "application/json" },

masterfulPeachHookwormmain.tsx1 match

@stevekrouse•Updated 4 months ago
20
21 try {
22 const response = await fetch("/chat", {
23 method: "POST",
24 headers: { "Content-Type": "application/json" },

knowledgeableTomatoCrawdadmain.tsx1 match

@stevekrouse•Updated 4 months ago
27
28 try {
29 const response = await fetch("/chat", {
30 method: "POST",
31 headers: { "Content-Type": "application/json" },

considerateTealRoundwormmain.tsx1 match

@stevekrouse•Updated 4 months ago
187
188 try {
189 const response = await fetch("/", {
190 method: "POST",
191 body: JSON.stringify({

blissfulBrownSmeltmain.tsx2 matches

@charmaine•Updated 4 months ago
42
43 try {
44 const response = await fetch(`https://www.shovel.report/api/domains/${domain}`);
45 if (!response.ok) {
46 throw new Error(`HTTP error! status: ${response.status}`);
52 };
53 } catch (error) {
54 console.error("Error fetching technologies:", error);
55 return { services: [], social_media: {} };
56 }

adventurousTealSalmonmain.tsx1 match

@stevekrouse•Updated 4 months ago
187
188 try {
189 const response = await fetch("/", {
190 method: "POST",
191 body: JSON.stringify({

GithubPRFetcher

@andybak•Updated 2 days ago

proxiedfetch1 file match

@jayden•Updated 3 days ago