You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Bsuccess?q=fetch&page=3&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 14499 results for "fetch"(4327ms)
156formData.append('client_secret', clientSecret);
157158const response = await fetch(url, {
159method: 'POST',
160headers: {
197};
198199const response = await fetch(url, {
200method: 'POST',
201headers,
16console.log("⏰ Polymarket cron at", new Date(interval.lastRunAt).toISOString());
1718// 1) Fetch markets from Polymarket API
19const params = new URLSearchParams({
20closed: "false",
2627const url = `https://gamma-api.polymarket.com/markets?${params}`;
28const raw = await fetch(url).then(r => r.json());
29const rawJson = JSON.stringify(raw);
30