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=57&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"(1296ms)

myApi1 file match

@lazeebee•Updated 1 year ago

myApi1 file match

@clayton•Updated 1 year ago

myApi1 file match

@burger•Updated 1 year ago

myApi1 file match

@adamontherun•Updated 1 year ago

myApi1 file match

@th3hunt•Updated 1 year ago

myApi1 file match

@groundcontrol•Updated 1 year ago

myApi1 file match

@feynman•Updated 1 year ago

myApi1 file match

@maximilian•Updated 1 year ago

myApi1 file match

@johanguse•Updated 1 year ago

myApi1 file match

@steveb1313•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