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=8&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"(2050ms)

smallweb_openapi1 file match

@pomdtr•Updated 7 months ago

addNumbersAPI

@rororowyourboat•Updated 7 months ago

openapi_playground2 file matches

@stainless_em•Updated 7 months ago

createAPI2 file matches

@websandbox•Updated 7 months ago

memoryApiExample2 file matches

@xkonti•Updated 7 months ago

restfulJsonBlobApi1 file match

@anotherjesse•Updated 7 months ago

quotableApiProxy2 file matches

@johndturn•Updated 7 months ago

scrapeCraigslistAPI1 file match

@rochambeau314•Updated 7 months ago

spacexapi1 file match

@moe•Updated 7 months ago

calculateTransitAPI2 file matches

@rochambeau314•Updated 7 months 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