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=5&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 13944 results for "fetch"(2819ms)

fetchValInfo2 file matches

@pomdtr•Updated 8 months ago

mlbScoreFetcher1 file match

@charmaine•Updated 8 months ago

ThreadmarkLISTFetcher22 file matches

@willthereader•Updated 8 months ago

ThreadmarkLISTFetcher1 file match

@willthereader•Updated 8 months ago

BrowserbaseFetcherFromURL1 file match

@willthereader•Updated 8 months ago

Fetch2 file matches

@niek•Updated 8 months ago

fetchTwitterUserInfoBroken1 file match

@shawnbasquiat•Updated 9 months ago

fetchIpfsPosts1 file match

@stevedylandev•Updated 10 months ago

FetchBasic1 file match

@hunty•Updated 10 months ago

fetchWikipediaContent2 file matches

@pmo•Updated 10 months ago

MusicPracticeTodoApp.tsx3 matches

@buzdygan•Updated 48 mins ago
16
17 const load = async () => {
18 const res = await fetch("/api/todos");
19 const data: Todo[] = await res.json();
20 setTodos(data);
27 const add = async (e: React.FormEvent) => {
28 e.preventDefault();
29 await fetch("/api/todos", {
30 method: "POST",
31 headers: { "Content-Type": "application/json" },
37
38 const complete = async (id: number) => {
39 await fetch("/api/complete", {
40 method: "POST",
41 headers: { "Content-Type": "application/json" },

MusicPracticetodos.ts1 match

@buzdygan•Updated 52 mins ago
23}
24
25// Fetch handler
26export async function GET(): Promise<Response> {
27 const rows = [...db.query("SELECT id, text, last_completed_date FROM todos")]