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%22Optional%20title%22?q=api&page=155&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 14198 results for "api"(1435ms)

tosREADME.md2 matches

@JoeEdohโ€ขUpdated 6 days ago
39โ”‚ โ”‚ โ”œโ”€โ”€ migrations.ts # Schema definitions
40โ”‚ โ”‚ โ”œโ”€โ”€ queries.ts # DB query functions
41โ”‚ โ”œโ”€โ”€ routes/ # API routes
42โ”‚ โ””โ”€โ”€ index.ts # Main entry point
43โ”œโ”€โ”€ frontend/
51## Technology Stack
52
53- Backend: Hono (API framework), SQLite (database)
54- Frontend: React, TailwindCSS
55- Authentication: JWT tokens

Townietestindex.ts2 matches

@Getโ€ขUpdated 6 days ago
89 }
90
91 // Handle API endpoints
92 if (path === "/api/scan" && req.method === "POST") {
93 // Check content type
94 const contentType = req.headers.get("Content-Type") || "";

Townietestindex.html2 matches

@Getโ€ขUpdated 6 days ago
108
109 <footer class="mt-12 text-center text-sm text-gray-500">
110 <p>This application processes images using OpenAI's API. Images are not stored permanently.</p>
111 <p class="mt-1">
112 <a
173 formData.append('image', file);
174
175 const response = await fetch('/api/scan', {
176 method: 'POST',
177 body: formData

Townietesttypes.ts1 match

@Getโ€ขUpdated 6 days ago
41
42/**
43 * Response format for the license scanning API
44 */
45export interface ScanResponse {

TownietestREADME.md1 match

@Getโ€ขUpdated 6 days ago
33## Privacy Notice
34
35This application processes images using OpenAI's API. Images are not stored permanently but are transmitted to OpenAI for processing. Please ensure you have appropriate consent before uploading any personal identification documents.

MedisaarthiREADME.md2 matches

@Umanshikaโ€ขUpdated 6 days ago
12
131. Users upload a medical image through the web interface
142. The image is sent to OpenAI's Vision API with specific medical analysis prompts
153. The AI analyzes the image and provides potential diagnoses or observations
164. Results are displayed to the user
20- Frontend: HTML, JavaScript, and TailwindCSS for styling
21- Backend: TypeScript with Val Town's HTTP trigger
22- AI: OpenAI's Vision API for image analysis
23
24## Limitations

Teachapp.js3 matches

@Problewkโ€ขUpdated 6 days ago
47
48 try {
49 // Send question to API with conversation history
50 const response = await fetch("/api/ask", {
51 method: "POST",
52 headers: {
223 clearcoat: 0.5, // Subtle clearcoat for realism
224 clearcoatRoughness: 0.4,
225 envMapIntensity: 0.3, // Subtle environment reflections
226 sheen: 0.2, // Subtle sheen
227 sheenRoughness: 0.5,

Teachindex.ts2 matches

@Problewkโ€ขUpdated 6 days ago
35});
36
37// API endpoint for AI responses
38app.post("/api/ask", async c => {
39 try {
40 const body = await c.req.json();

TeachREADME.md2 matches

@Problewkโ€ขUpdated 6 days ago
9 - Detailed facial features with realistic skin, eyes, and hair
10 - Lifelike animations and expressions
11- AI-powered responses using OpenAI's API
12- Interactive chat interface
13- Educational content delivery
34 - Advanced lighting setup for photorealistic rendering
35 - Facial animation system
36- OpenAI API for AI responses
37- Tailwind CSS for styling

doorutils.tsx1 match

@stevekrouseโ€ขUpdated 6 days ago
31 .toString("base64");
32
33 const response = await fetch(`https://api.switch-bot.com/${path}`, {
34 headers: buildSwitchBotHeaders(),
35 ...args,

book-lookup5 file matches

@nuckyโ€ขUpdated 1 day ago
use google book api to look up bibliographic metadata elements

new-val-api-demo

@shouserโ€ขUpdated 2 days ago
This is an example of using the API to create a val.
snartapi
mux
Your friendly, neighborhood video API.