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=1&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 8136 results for "fetch"(1300ms)

fetchPaginatedData2 file matches

@nbbaier•Updated 1 week ago

FetchBasic1 file match

@fredmoon•Updated 1 week ago

tweetFetcher2 file matches

@nbbaier•Updated 2 weeks ago

fetchAndStoreOpenAiUsage22 file matches

@nbbaier•Updated 2 weeks ago

fetchRss2 file matches

@pierremenard•Updated 2 weeks ago

fetchAndConvertToWebP1 file match

@AIWB•Updated 2 weeks ago

FetchBasic1 file match

@consitini•Updated 1 month ago

fetch_template1 file match

@gwoods22•Updated 1 month ago

fetchCongressTradeReports1 file match

@Mustakim12•Updated 2 months ago

telegramBotStarterindex.ts1 match

@asdfg•Updated 1 hour ago
354 const botToken = process.env.TELEGRAM_BOT_TOKEN;
355
356 const response = await fetch(`https://api.telegram.org/bot${botToken}/setWebhook`, {
357 method: "POST",
358 headers: { "Content-Type": "application/json" },

telegramBotStartersendTelegramMessage.tsx1 match

@asdfg•Updated 1 hour ago
12 const telegramApiUrl = `https://api.telegram.org/bot${botToken}/sendMessage`;
13
14 const response = await fetch(telegramApiUrl, {
15 method: 'POST',
16 headers: {