No matches found in users.
Try switching to another result type using the tabs above.
You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/?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 13860 results for "fetch"(1686ms)
No matches found in users.
Try switching to another result type using the tabs above.
10?ids=${ids}&vs_currencies=aud&include_24hr_change=true
11&x_cg_demo_api_key=${key}`.replace(/\s+/g, "");
12const json = await fetch(url).then(r => r.json());
1314await set("prices_cache", JSON.stringify({ ts: Date.now(), data: json }));
15console.log("Fetched & cached prices at", new Date());
16}
17
9const ids = list.join("%2C");
10const api = `https://api.coingecko.com/api/v3/simple/price?ids=${ids}&vs_currencies=aud&include_24hr_change=true`;
11const data = await fetch(api).then(r => r.json());
1213// Tiny HTML snippet – links our CSS & JS vals