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=6&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 14486 results for "fetch"(4529ms)

FetchBasic1 file match

@hunty•Updated 10 months ago

fetchWikipediaContent2 file matches

@pmo•Updated 10 months ago

Fetch2 file matches

@komolkin•Updated 10 months ago

Fetch2 file matches

@hunty•Updated 10 months ago

fetchCongressTradeReports1 file match

@trickster•Updated 11 months ago

fetchJSON2 file matches

@stevekrouse•Updated 11 months ago

fetchJSON1 file match

@maxm•Updated 11 months ago

fetchTodaysNytCxGridAndClues1 file match

@plr•Updated 1 year ago

fetchTodaysNytCxPuzzle1 file match

@plr•Updated 1 year ago

fetchAPI1 file match

@pomdtr•Updated 1 year ago

qkwnew02_http.tsx1 match

@fengyuan_he•Updated 1 hour ago
11 forwardedHeaders.delete("host");
12
13 const res = await fetch(targetUrl, {
14 method: req.method,
15 headers: forwardedHeaders,

valSourceindex.ts6 matches

@curtcox•Updated 3 hours ago
362
363 try {
364 // Fetch the source code
365 const response = await fetch(sourceUrl);
366 if (!response.ok) {
367 return c.text(`Failed to fetch source: ${response.status}`, 404);
368 }
369
611 async function detectBlock(code, line, column) {
612 if (blockDetectorUrl) {
613 const response = await fetch(blockDetectorUrl, {
614 method: 'POST',
615 headers: { 'Content-Type': 'application/json' },
624 async function explainBlock(code, blockInfo) {
625 if (blockExplainerUrl) {
626 const response = await fetch(blockExplainerUrl, {
627 method: 'POST',
628 headers: { 'Content-Type': 'application/json' },
770}
771
772export default app.fetch;