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/?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 4126 results for "api"(453ms)

artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com
fiberplane
Purveyors of Hono tooling, API Playground enthusiasts, and creators of 🪿 HONC 🪿 (https://honc.dev)
replicate
Run AI with an API

JimeluStevenssendDailyBrief.ts8 matches

@luke_f•Updated 1 hour ago
91
92export async function sendDailyBriefing(chatId?: string, today?: DateTime) {
93 // Get API keys from environment
94 const apiKey = Deno.env.get("ANTHROPIC_API_KEY");
95 const telegramToken = Deno.env.get("TELEGRAM_TOKEN");
96
100 }
101
102 if (!apiKey) {
103 console.error("Anthropic API key is not configured.");
104 return;
105 }
116
117 // Initialize Anthropic client
118 const anthropic = new Anthropic({ apiKey });
119
120 // Initialize Telegram bot
156
157 // disabled title for now, it seemes unnecessary...
158 // await bot.api.sendMessage(chatId, `*${title}*`, { parse_mode: "Markdown" });
159
160 // Then send the main content
163
164 if (content.length <= MAX_LENGTH) {
165 await bot.api.sendMessage(chatId, content, { parse_mode: "Markdown" });
166 // Store the briefing in chat history
167 await storeChatMessage(
192 // Send each chunk as a separate message and store in chat history
193 for (const chunk of chunks) {
194 await bot.api.sendMessage(chatId, chunk, { parse_mode: "Markdown" });
195 // Store each chunk in chat history
196 await storeChatMessage(

JimeluStevenshandleUSPSEmail.ts5 matches

@luke_f•Updated 1 hour ago
86 console.log(e.text);
87
88 // Get Anthropic API key from environment
89 const apiKey = Deno.env.get("ANTHROPIC_API_KEY");
90 if (!apiKey) {
91 console.error("Anthropic API key is not configured for this val.");
92 return;
93 }
94
95 // Initialize Anthropic client
96 const anthropic = new Anthropic({ apiKey });
97
98 // Process each image attachment serially

openapi2 file matches

@stevekrouse•Updated 1 day ago

dbToAPI_backup4 file matches

@nbbaier•Updated 3 days ago