You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$%7Bart_info.art.src%7D?q=image&page=11&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=image
Returns an array of strings in format "username" or "username/projectName"
Found 9144 results for "image"(1705ms)
18fontFamily: "sans-serif",
19textAlign: "center",
20backgroundImage:
21"url('https://github.com/SYZBA1/zero_day/blob/master/8b36519d-f348-478f-84f2-424e1ee302c0.jpg?raw=true')",
22backgroundSize: "cover",
25<meta property="og:description" content="Generate test credit cards with 3D graphics and Luhn algorithm validation">
26<meta property="og:type" content="website">
27<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>💳</text></svg>">
28`;
29