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=62&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"(996ms)

myApi1 file match

@sudojimmy•Updated 1 year ago

myApi1 file match

@bduff9•Updated 1 year ago

myApi1 file match

@geanu02•Updated 1 year ago

myApi1 file match

@gideon•Updated 1 year ago

myApi1 file match

@thrillingyouttain•Updated 1 year ago

myApi1 file match

@nanyun•Updated 1 year ago

myApi1 file match

@bogo•Updated 1 year ago

myApi1 file match

@dpetrouk•Updated 1 year ago

myApi1 file match

@yosun•Updated 1 year ago

myApi1 file match

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