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=63&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"(710ms)

myExpressApi2 file matches

@stevekrouse•Updated 1 year ago

verifySecretAPI2 file matches

@stevekrouse•Updated 1 year ago

hiddenAPI2 file matches

@stevekrouse•Updated 1 year ago

myApi1 file match

@ALienbytes•Updated 1 year ago

myApi1 file match

@gulley•Updated 1 year ago

myApi1 file match

@rap•Updated 1 year ago

myApi1 file match

@lionello•Updated 1 year ago

myApi1 file match

@ayrtonlacerda•Updated 1 year ago

myApi1 file match

@anibalestrella•Updated 1 year ago

myApi1 file match

@erics118•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