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

hn-fetch1 file match

@matija•Updated 2 months ago

fetchPaginatedData2 file matches

@nbbaier•Updated 3 months ago

FetchBasic1 file match

@fredmoon•Updated 3 months ago

tweetFetcher2 file matches

@nbbaier•Updated 3 months ago

fetchAndStoreOpenAiUsage22 file matches

@nbbaier•Updated 3 months ago

fetchRss2 file matches

@pierremenard•Updated 3 months ago

fetchAndConvertToWebP1 file match

@AIWB•Updated 3 months ago

FetchBasic1 file match

@consitini•Updated 4 months ago

fetchCongressTradeReports1 file match

@Mustakim12•Updated 5 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) {