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=17&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 14496 results for "fetch"(2886ms)

fetchTwitterUser2 file matches

@andreterron•Updated 1 year ago

proxyFetch12 file matches

@alp•Updated 1 year ago

fetchJSON1 file match

@sean•Updated 1 year ago

fetchXML1 file match

@eczajk•Updated 1 year ago

fetchText2 file matches

@iakovos•Updated 1 year ago

fetchPelotonWorkouts1 file match

@andreterron•Updated 1 year ago

fetchABird1 file match

@crsven•Updated 1 year ago

fetchCongressTradeReports2 file matches

@stevekrouse•Updated 1 year ago

proxyFetch62 file matches

@alp•Updated 1 year ago

fetchJSON1 file match

@pixelian•Updated 1 year ago

cardamomindex.ts1 match

@connnolly•Updated 11 mins ago
83});
84
85export default app.fetch;

cipherApp.tsx6 matches

@bao•Updated 18 mins ago
44
45 useEffect(() => {
46 async function fetchQuote() {
47 try {
48 const known = await getKnownTexts();
54 let waited = 0;
55 while (value === undefined && waited <= 10) {
56 const response = await fetch(`https://simplevalueapi.val.run/getValue?id=${uuid}`);
57 const responseData = await response.json();
58 if (responseData?.value?.cipher === undefined) {
95 });
96 }
97 console.log("new uuid, fetching new quote");
98 let keyword = "";
99 let quote = "";
100 let author = "";
101 while (quote === "") {
102 const response = await fetch(`/quote`);
103 const responseData = await response.json();
104 if ((responseData?.quote?.length ?? 0) >= 5) {
134 }
135 } catch (error) {
136 console.error("Failed to fetch quote:", error);
137 setLoadingError(`${error}`);
138 setIsLoading(false);
140 }
141
142 fetchQuote();
143 }, []);
144