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//%22$%7BviewSourceLink%7D/%22?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 18999 results for "fetch"(1237ms)

FetchBasic2 file matches

@bengold•Updated 2 weeks ago

fetch1 file match

@raify•Updated 2 weeks ago

FetchBasic2 file matches

@gdm•Updated 3 weeks ago

FetchBasic3 file matches

@toddpiersall•Updated 4 weeks ago

fetchJSON2 file matches

@neverstew•Updated 1 month ago

falVideoFetcher1 file match

@hellojakejohn•Updated 1 month ago

Parallel-fetch1 file match

@stevekrouse•Updated 1 month ago

readwise-instapaper1 file match

@welson•Updated 1 month ago
Fetches my articles from Readwise. Syncs with/ Neon + Instapaper

manual-fetcher

@miz•Updated 2 months ago

fake-https1 file match

@blazemcworld•Updated 2 months ago
simple proxy to fetch http urls using https

spotymain.ts3 matches

@skirtowner•Updated 1 hour ago
19 const now = Date.now();
20 if (!cached.accessToken || now >= cached.expiresAt) {
21 const tokenResp = await fetch("https://accounts.spotify.com/api/token", {
22 method: "POST",
23 headers: {
49
50 while (nextUrl) {
51 const resp = await fetch(nextUrl, {
52 headers: { Authorization: `Bearer ${accessToken}` },
53 });
54 if (!resp.ok) {
55 const text = await resp.text();
56 return new Response("Failed to fetch playlists: " + text, {
57 status: 500,
58 });

untitled-7644new-file-7315.ts2 matches

@coolmoves•Updated 1 hour ago
1export default async function (interval: Interval) {
2 const f = await fetch("https://sih-2025-demo.onrender.com/");
3 const s = await f.text();
4 console.log(s);
5 const r = await fetch("https://sih-2025-demo.onrender.com/");
6 const p = await r.text();
7 console.log(p);