You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/...?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 19330 results for "api"(2362ms)
14},
15"message": "helloooooo this is me in a diff account",
16"includeSentViaPipedream": false,
17},
18});
21
22// Handle email signup
23if (url.pathname === "/api/signup" && req.method === "POST") {
24try {
25await initDatabase();
63
64// Get all emails (for future access)
65if (url.pathname === "/api/emails" && req.method === "GET") {
66try {
67await initDatabase();