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=10&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"(1505ms)

vtApiTypes2 file matches

@neverstewUpdated 10 months ago

fetchAPI1 file match

@pomdtrUpdated 10 months ago

GitHubAPI2 file matches

@iamseeleyUpdated 10 months ago

ValTownAPI2 file matches

@iamseeleyUpdated 10 months ago

httpApiScreenshotPageExample1 file match

@charlypolyUpdated 10 months ago

generateValCodeAPI2 file matches

@yawnxyzUpdated 10 months ago

geolocation_api_demo1 file match

@stevekrouseUpdated 11 months ago

API_URL2 file matches

@pomdtrUpdated 11 months ago

api1 file match

@nwsUpdated 11 months ago

gameIdeaApi2 file matches

@xkontiUpdated 11 months ago

my-first-val02_http.tsx2 matches

@stevekrouseUpdated 32 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 33 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