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=37&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 19304 results for "api"(1454ms)

myApi1 file match

@DateMaps•Updated 1 year ago

myApi1 file match

@lawrencewu•Updated 1 year ago

myApi1 file match

@jcrowe•Updated 1 year ago

myApi1 file match

@dhaya•Updated 1 year ago

myApi1 file match

@cburgos0511•Updated 1 year ago

myApi1 file match

@devgio•Updated 1 year ago

myApi2 file matches

@tamlyn•Updated 1 year ago

myApi1 file match

@mojombo•Updated 1 year ago

myApi1 file match

@dace•Updated 1 year ago

pageApi2 file matches

@mgruel•Updated 1 year ago

talentflow2main.tsx5 matches

@legal•Updated 23 mins ago
50 <!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>TalentFlow AI</title>
51 <style>
52 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&family=Inter:wght@400;500;700&display=swap');
53 @keyframes spin { to { transform: rotate(360deg); } }
54 @keyframes slide-in-bounce { 0% { opacity: 0; transform: translateY(30px) scale(0.95); } 60% { opacity: 1; transform: translateY(-10px) scale(1.05); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
181 <script>
182 (function() {
183 const API_URL = '${sourceUrl}';
184 const STORE_KEYS = { jobs: 'talentflow_jobs_v1', candidates: 'talentflow_candidates_v1', theme: 'talentflow_theme_v1' };
185 let jobOpenings = [], candidates = [], activeJobId = 'job_sourced', conversationHistory = [];
343 renderChatLog(); input.value = '';
344 try {
345 const res = await fetch(\`\${API_URL}?action=chat\`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ messages: conversationHistory.slice(0, -1), candidates, jobOpenings }) });
346 const data = await res.json();
347 if (!res.ok || data.error) throw new Error(data.error || 'Server error');
408 if (!confirm(\`Run AI screening for \${candidate.name} against the "\${job.title}" role?\`)) return;
409 try {
410 const res = await fetch(\`\${API_URL}?action=screenCandidate\`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ resumeText: candidate.resumeText, jobDescription: job.descriptionText }) });
411 const data = await res.json();
412 if (!res.ok) throw new Error(data.error);
450 if (!jobDesc) return;
451 try {
452 const res = await fetch(\`\${API_URL}?action=analyzeJobDescription\`, { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({ jobDescription: jobDesc }) });
453 const data = await res.json();
454 if(!res.ok) throw new Error(data.error);

capsidemailsmain.js5 matches

@yawnxyz•Updated 28 mins ago
12// =============================================================================
13
14// API endpoint for manual data submission
15app.post("/api/add", async (c) => {
16 try {
17 const body = await c.req.json();
48
49// Test endpoint to verify Notion connection
50app.get("/api/test", async (c) => {
51 try {
52 const appData = {
66
67// Get current configuration for debugging
68app.get("/api/config", (c) => {
69 return c.json({
70 databaseId: NOTION_CONFIG.DATABASE_ID,
231
232 try {
233 const response = await fetch('/api/add', {
234 method: 'POST',
235 headers: {
apiry
snartapi