You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/$1?q=api&page=52&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 18960 results for "api"(3424ms)
12}
13// 🔗 Generate response from OpenAI
14const aiResponse = await (await fetch("https://api.openai.com/v1/chat/completions", {
15method: "POST",
16headers: {
17"Authorization": `Bearer ${Deno.env.get("OPENAI_API_KEY")}`,
18"Content-Type": "application/json",
19},
37// 📤 Send SMS via Twilio
38const twilioResponse = await fetch(
39"https://api.twilio.com/2010-04-01/Accounts/" + Deno.env.get("TWILIO_ACCOUNT_SID") + "/Messages.json",
40{
41method: "POST",
15- Fast and lightweight
16
17### HuyHieu API
18```
19/huyhieu?url=<website>&label=<label>&value=<value>&color=<color>&text=<textColor>&size=<size>&radius=<radius>&shape=<shape>