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/?q=api&page=19&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 18991 results for "api"(4329ms)

callGoogleSheetsAPI2 file matches

@clayway•Updated 1 year ago

myApi1 file match

@raymondcamden•Updated 1 year ago

myApi1 file match

@ianjkaplan•Updated 1 year ago

myApi1 file match

@hungtd•Updated 1 year ago

myApi1 file match

@santi•Updated 1 year ago

myApi1 file match

@kavanagh•Updated 1 year ago

myApi1 file match

@kf9•Updated 1 year ago

myApi1 file match

@emohamed•Updated 1 year ago

myApi1 file match

@itsfiggers•Updated 1 year ago

myApi1 file match

@jmelis•Updated 1 year ago

honeydewmain.tsx6 matches

@legal•Updated 1 hour ago
92 <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Honeydew</title>
93 <style> 
94 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&family=Inter:wght@400&display=swap'); 
95 @keyframes spin{to{transform:rotate(360deg)}}
96 @keyframes slide-in-bounce {
477 <script> 
478 (function() {
479  const API_URL = '${sourceUrl}'; 
480  const STORE_KEYS = { projects: 'honeydew_projects_v1', tasks: 'honeydew_tasks_v1', theme: 'honeydew_theme_v1' }; 
481  let projects = [], tasks = [], activeView = 'today', conversationHistory = []; 
682
683    try { 
684      const res = await fetch(\`\${API_URL}?action=chat\`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ messages: conversationHistory.slice(0, -1), tasks, projects }) }); 
685      const data = await res.json(); 
686      if (!res.ok || data.error) throw new Error(data.error || 'Server error'); 
786    toggleLoading(btn, true); 
787    try { 
788      const res = await fetch(\`\${API_URL}?action=synthesizeProject\`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ goal }) }); 
789      const data = await res.json(); 
790      if (!res.ok || data.error) throw new Error(data.error || "Server error"); 
804    toggleLoading(btn, true); 
805    try { 
806      const res = await fetch(\`\${API_URL}?action=dailyRebalance\`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ tasks: todayTasks }) }); 
807      const data = await res.json(); 
808      if (!res.ok || data.error) throw new Error(data.error || "Server error"); 
1034 }
1035 } catch (error) {
1036 console.error("AI API Error:", error);
1037 return new Response(
1038 JSON.stringify({ error: error.message || "An unknown error occurred with the AI service." }),

untitled-6415main.ts1 match

@joshbeckman•Updated 1 hour ago
3
4const anthropic = new Anthropic({
5 apiKey: Deno.env.get("ANTHROPIC_API_KEY"),
6});
7
apiry
snartapi