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/image-url.jpg%20%22Image%20title%22?q=api&page=11&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 11659 results for "api"(1281ms)

gptApiTemplate2 file matches

@xkontiUpdated 11 months ago

gptApiFramework2 file matches

@xkontiUpdated 11 months ago

spotifyAPI1 file match

@HuskyChickenUpdated 11 months ago

memoryApiPolicy2 file matches

@xkontiUpdated 11 months ago

gptApiSchemaBuilder2 file matches

@xkontiUpdated 11 months ago

openapi_email1 file match

@pomdtrUpdated 12 months ago

openapi_schema1 file match

@pomdtrUpdated 12 months ago

generate_openapi_schema1 file match

@pomdtrUpdated 12 months ago

newValTownOpenAPI2 file matches

@stevekrouseUpdated 1 year ago

vtOpenAPI2 file matches

@stevekrouseUpdated 1 year ago

my-first-val02_http.tsx2 matches

@stevekrouseUpdated 35 mins ago
10
11 // Look up the user's location from their IP
12 const geoResponse = await fetch(`http://ip-api.com/json/${ip}`);
13 const geoData = await geoResponse.json();
14
26 <style>
27 {`
28 @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
29 body { font-family: 'Share Tech Mono', monospace; background: #0a0a0a; color: #00ff00; }
30 .glow { text-shadow: 0 0 10px #00ff00; }

telegramBotStarterbotFunctions.js5 matches

@asdfgUpdated 35 mins ago
382
383// ============================================================
384// TELEGRAM API INTERACTION
385// ============================================================
386
387/**
388 * Send a message using the Telegram API
389 */
390async function sendTelegramMessage(chatId, text) {
392 const botToken = process.env.TELEGRAM_BOT_TOKEN;
393
394 const response = await fetch(`https://api.telegram.org/bot${botToken}/sendMessage`, {
395 method: "POST",
396 headers: { "Content-Type": "application/json" },
422 const botToken = process.env.TELEGRAM_BOT_TOKEN;
423
424 const response = await fetch(`https://api.telegram.org/bot${botToken}/setWebhook`, {
425 method: "POST",
426 headers: { "Content-Type": "application/json" },
446 const botToken = process.env.TELEGRAM_BOT_TOKEN;
447
448 const response = await fetch(`https://api.telegram.org/bot${botToken}/getWebhookInfo`);
449 const result = await response.json();
450 return result;
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