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/?q=fetch&page=391&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 7882 results for "fetch"(895ms)

cerebras_codermain.tsx1 match

@Devisscott•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

instagramReelsDownloadmain.tsx3 matches

@Shadab•Updated 3 months ago
10 const handleDownload = async () => {
11 try {
12 const response = await fetch('/download', {
13 method: 'POST',
14 headers: { 'Content-Type': 'application/json' },
121 }
122
123 // Fetch video using Instagram's public API
124 const igResponse = await fetch(url);
125 const html = await igResponse.text();
126

truthfulGreenGrasshoppermain.tsx1 match

@samm•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

modernCoralFinchmain.tsx1 match

@samm•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

talentedIndigoStingraymain.tsx1 match

@samm•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

matureRedLeoponmain.tsx1 match

@samm•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

cerebras_codermain.tsx1 match

@samm•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

gameWebsitemain.tsx5 matches

@ffgamebet13•Updated 3 months ago
34
35 useEffect(() => {
36 async function fetchTopGames() {
37 try {
38 // Fetch top 50 free games from US App Store
39 const response = await fetch(
40 `https://itunes.apple.com/us/rss/topfreeapplications/limit=50/genre=${selectedCategory === 'all' ? '6014' : selectedCategory}/json`
41 );
42
43 if (!response.ok) {
44 throw new Error('Failed to fetch game data');
45 }
46
64 }
65 }
66 fetchTopGames();
67 }, [selectedCategory]);
68

umbrellaRemindermain.tsx2 matches

@kylecrews•Updated 3 months ago
1import { email } from "https://esm.town/v/std/email?v=9";
2import { fetchJSON } from "https://esm.town/v/stevekrouse/fetchJSON";
3import { nominatimSearch } from "https://esm.town/v/stevekrouse/nominatimSearch";
4import { weatherGovGrid } from "https://esm.town/v/stevekrouse/weatherGovGrid";
14 lon,
15 });
16 let { properties: { periods } } = await fetchJSON(
17 grid.forecastHourly,
18 );

cerebras_codermain.tsx1 match

@kylecrews•Updated 3 months ago
182
183 try {
184 const response = await fetch("/", {
185 method: "POST",
186 body: JSON.stringify({

fetchPaginatedData2 file matches

@nbbaier•Updated 1 week ago

FetchBasic1 file match

@fredmoon•Updated 1 week ago