You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/image-url.jpg%20%22Optional%20title%22?q=api&page=33&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=api
Returns an array of strings in format "username" or "username/projectName"
Found 11844 results for "api"(870ms)
79// This is a no-op if nothing's changed
80if (!isEndpointSet) {
81await bot.api.setWebhook(req.url, {
82secret_token: SECRET_TOKEN,
83});
71// This is a no-op if nothing's changed
72if (!isEndpointSet) {
73await bot.api.setWebhook(req.url, {
74secret_token: SECRET_TOKEN,
75});