Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Burl%7D?q=api&page=1&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 19647 results for "api"(1518ms)

scrapeCraigslistAPI1 file match

@shapedlines•Updated 5 hours ago
Plantfo

Plantfo8 file matches

@Llad•Updated 15 hours ago
API for AI plant info

researchAgent2 file matches

@thesephist•Updated 2 days ago
This is a lightweight wrapper around Perplexity's web search API

memoryApiExample2 file matches

@ingenierotito•Updated 2 days ago

api_ianmenethil_com133 file matches

@ianmenethil•Updated 3 days ago

api_ianmenethil_com74 file matches

@ianmenethil•Updated 3 days ago

readback-api

@tr3ntg•Updated 4 days ago
API for readback.

beeminder-api4 file matches

@cricks_unmixed4u•Updated 5 days ago

shippingAPI1 file match

@dynamic_silver•Updated 6 days ago

api_zenithpayments_com

@ianmenethil•Updated 6 days ago

group-mebasic.ts6 matches

@zalment•Updated 2 hours ago
3
4// Environment variables
5const GOOGLE_API_KEY = process.env.GOOGLE_API_KEY;
6const GROUPME_TOKEN = process.env.GROUPME_TOKEN;
7const GROUPME_GROUP_ID = process.env.GROUPME_GROUP_ID;
10// Initialize Google AI
11const ai = new GoogleGenAI({
12 apiKey: GOOGLE_API_KEY,
13});
14
15// GroupMe API configuration
16const baseUrl = "https://api.groupme.com/v3";
17
18// System prompt for Gimpel
90// Generate AI response using Gemini with chat-based conversation
91const generateResponse = async (messages) => {
92 if (!GOOGLE_API_KEY) {
93 throw new Error("Missing Google API key");
94 }
95

reactHonoStarterindex.ts2 matches

@anup_d911•Updated 2 hours ago
12app.get("/frontend/**/*", c => serveFile(c.req.path, import.meta.url));
13
14// Add your API routes here
15// app.get("/api/data", c => c.json({ hello: "world" }));
16
17// Unwrap and rethrow Hono errors as the original error
apiry
snartapi