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=4&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 17206 results for "fetch"(717ms)

fetchRSS1 file match

@rawwerks•Updated 5 months ago

cookieFetch2 file matches

@gwoods22•Updated 6 months ago

FetchBasic1 file match

@charmaine•Updated 6 months ago

FetchBasic2 file matches

@dtecho•Updated 6 months ago

FetchBasic2 file matches

@gdm•Updated 6 months ago

fetchEvents1 file match

@richardwu9•Updated 6 months ago

ios_AppStoreFetcher1 file match

@arfan•Updated 6 months ago

FetchBasic1 file match

@BunsDev•Updated 6 months ago

fetchBinance1 file match

@svbasi•Updated 6 months ago

gistFetcher1 file match

@tgrecojs•Updated 7 months ago

Anki-Generatorbahasa.tsx1 match

@maahir•Updated 21 mins ago
56 };
57
58 const insertRes = await fetch(
59 `${NOCODB_BASE_URL}/api/v2/tables/${NOCODB_TABLE}/records`,
60 {

SnippetsApp.jsx8 matches

@n4k0m3•Updated 1 hour ago
86 }, [theme]);
87
88 // Function to fetch snippets from the API
89 const fetchSnippets = async () => {
90 if (!config.url || !config.token) {
91 showNotification(
104 if (response && response.CONTENT) {
105 // The API returns the content encoded in Base64, so we decode it.
106 const fetchedSnippets = Object.values(response.CONTENT).map(
107 (snippet) => ({
108 ...snippet,
110 }),
111 );
112 setSnippets(fetchedSnippets);
113 showNotification(
114 language.notification_snippets_loaded_success,
132 // Load snippets on initial render and when config changes
133 useEffect(() => {
134 fetchSnippets();
135 }, [api, config, currentLang]);
136
210 );
211 }
212 await fetchSnippets(); // Refresh snippets
213 setSnippetToEdit(null);
214 } catch (e) {
236 "success",
237 );
238 await fetchSnippets(); // Refresh snippets
239 setShowConfirmDelete(false);
240 } catch (e) {
415 );
416 }
417 await fetchSnippets(); // Refresh snippets
418 onSuccess();
419 } catch (e) {