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/$%7Bart_info.art.src%7D?q=api&page=65&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 11410 results for "api"(492ms)

myApi1 file match

@ralphite•Updated 1 year ago

myApi1 file match

@iyzg•Updated 1 year ago

myApi1 file match

@stevebennn•Updated 1 year ago

myApi1 file match

@alexw•Updated 1 year ago

myApi1 file match

@zpnichols•Updated 1 year ago

expressApiTest2 file matches

@z233•Updated 1 year ago

myApi1 file match

@iansavchenko•Updated 1 year ago

myApi1 file match

@morten_holm•Updated 1 year ago

myApi1 file match

@nickgehring•Updated 1 year ago

heapify1 file match

@aeschylus•Updated 1 year ago

stevensDemohandleTelegramMessage.ts7 matches

@kuanche•Updated 2 hours ago
86
87/**
88 * Format chat history for Anthropic API
89 */
90function formatChatHistoryForAI(history) {
314bot.on("message", async (ctx) => {
315 try {
316 // Get Anthropic API key from environment
317 const apiKey = Deno.env.get("ANTHROPIC_API_KEY");
318 if (!apiKey) {
319 console.error("Anthropic API key is not configured.");
320 ctx.reply(
321 "I apologize, but I'm not properly configured at the moment. Please inform the household administrator.",
325
326 // Initialize Anthropic client
327 const anthropic = new Anthropic({ apiKey });
328
329 // Get message text and user info
490 // Set webhook if it is not set yet
491 if (!isEndpointSet) {
492 await bot.api.setWebhook(req.url, {
493 secret_token: SECRET_TOKEN,
494 });

a27cc1c0bf5_rapid-file-0.js1 match

@vtTestLocal•Updated 5 hours ago
1// 'Rapid file 0'
apiv1
papimark21