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=9&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"(1720ms)

httpApiScreenshotPageExample

@browserbase•Updated 8 months ago

denoBlogAPI

@roramigator•Updated 8 months ago

lootGenAPI1 file match

@roramigator•Updated 8 months ago

api1 file match

@iamseeley•Updated 8 months ago

fuchsiaTapir

@tempguy•Updated 8 months ago

smallboatsapi1 file match

@joseph_c100•Updated 9 months ago

tracksAPI1 file match

@dthyresson•Updated 9 months ago

bearObservationsAPI1 file match

@chrisco•Updated 10 months ago

hfApiGateway1 file match

@iamseeley•Updated 10 months ago

vtApiTypes2 file matches

@neverstew•Updated 10 months ago

stevensDemohandleTelegramMessage.ts7 matches

@kuanche•Updated 1 hour 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