You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Bsuccess?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 14499 results for "fetch"(4154ms)
159formData.append("client_secret", clientSecret);
160161const response = await fetch(url, {
162method: "POST",
163headers: {
200};
201202const response = await fetch(url, {
203method: "POST",
204headers,
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