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/$%7Bart_info.art.src%7D?q=api&page=14&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 11482 results for "api"(349ms)

API_URL2 file matches

@std•Updated 1 year ago

myApi

@kortxyz•Updated 1 year ago

myApi1 file match

@atlae•Updated 1 year ago

myApi1 file match

@chrisk_7777•Updated 1 year ago

zohoDeskApi2 file matches

@julbrs•Updated 1 year ago

myApi1 file match

@boozedog•Updated 1 year ago

api_updates_demo2 file matches

@andreterron•Updated 1 year ago

memoryApiExample2 file matches

@stevekrouse•Updated 1 year ago

untitled_cyanTapir1 file match

@Clara•Updated 1 year ago

jokeapi1 file match

@kerissa•Updated 1 year ago

TownieHome.tsx6 matches

@valdottown•Updated 2 hours ago
42 </h2>
43 <ol>
44 <li>Login with your Val Town API token (with val:read, val:write, user:read permissions)</li>
45 <li>Add your Anthropic API key</li>
46 <li>Select a project to work on</li>
47 <li>Chat with Claude about your code</li>
80 </div>
81 <h3>Cost Tracking</h3>
82 <p>See estimated API usage costs for each interaction</p>
83 </div>
84 </section>
93 <ul>
94 <li>React frontend with TypeScript</li>
95 <li>Hono API server backend</li>
96 <li>Web Audio API for sound notifications</li>
97 <li>AI SDK for Claude integration</li>
98 </ul>
99 <p>
100 The application proxies requests to the Anthropic API and Val Town API, allowing Claude to view and edit your
101 project files directly.
102 </p>

helloooooooindex.ts4 matches

@charmaine•Updated 2 hours ago
87});
88
89// API endpoint to get all posts
90app.get('/api/posts', async (c) => {
91 const posts = await getAllPosts();
92 return c.json(posts);
93});
94
95// API endpoint to get a single post
96app.get('/api/posts/:slug', async (c) => {
97 const slug = c.req.param('slug');
98 const post = await getPost(slug);
apiv1
papimark21