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/$%7Bsuccess?q=api&page=25&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 11605 results for "api"(800ms)

myApi1 file match

@moschanUpdated 1 year ago

myApi1 file match

@saip009Updated 1 year ago

myApi1 file match

@eastercUpdated 1 year ago

openaiOpenAPI2 file matches

@stevekrouseUpdated 1 year ago

discordAPI2 file matches

@stevekrouseUpdated 1 year ago

myApi1 file match

@jakesingUpdated 1 year ago

myApi1 file match

@flavorjonesUpdated 1 year ago

myApi1 file match

@bhelxUpdated 1 year ago

myApi2 file matches

@rodrigotelloUpdated 1 year ago

myApi1 file match

@ethanniserUpdated 1 year ago

telegramBotStarterbotFunctions.js5 matches

@asdfgUpdated 28 mins ago
327
328// ============================================================
329// TELEGRAM API INTERACTION
330// ============================================================
331
332/**
333 * Send a message using the Telegram API
334 */
335async function sendTelegramMessage(chatId, text) {
337 const botToken = process.env.TELEGRAM_BOT_TOKEN;
338
339 const response = await fetch(`https://api.telegram.org/bot${botToken}/sendMessage`, {
340 method: "POST",
341 headers: { "Content-Type": "application/json" },
367 const botToken = process.env.TELEGRAM_BOT_TOKEN;
368
369 const response = await fetch(`https://api.telegram.org/bot${botToken}/setWebhook`, {
370 method: "POST",
371 headers: { "Content-Type": "application/json" },
391 const botToken = process.env.TELEGRAM_BOT_TOKEN;
392
393 const response = await fetch(`https://api.telegram.org/bot${botToken}/getWebhookInfo`);
394 const result = await response.json();
395 return result;

EEPMOnitoringApp.tsx2 matches

@solomonferedeUpdated 30 mins ago
264==========================*/
265// The server function remains the same as in the previous single-file solution,
266// as it handles API requests and serves the main HTML.
267// Its logic is independent of how the client-side components are structured into files.
268export default async function server(
316 const method = request.method;
317
318 // API Routes (same logic as before)
319 if (path === "/login" && method === "POST") {
320 const body = await request.json();
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration