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=5&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 15070 results for "api"(1311ms)

apiProxy2 file matches

@maxm•Updated 2 months ago

capitalMultipliers2 file matches

@vinaybjp12•Updated 2 months ago

fiberplaneHonoZodStarter10 file matches

@fiberplane•Updated 2 months ago
Hono-Zod-OpenAPI with Fiberplane API Playground integration

API_Management

@aryandc•Updated 3 months ago

researchAgent2 file matches

@thesephist•Updated 3 months ago
This is a lightweight wrapper around Perplexity's web search API

lovingCoralTapir1 file match

@khennyyb•Updated 3 months ago

healthyJadeTapir

@danisjerry•Updated 3 months ago

API_Get_Weather_In_French

@Skeye•Updated 3 months ago

FramerAPIWrapper2 file matches

@charmaine•Updated 3 months ago

ProtoSharecontent.ts1 match

@c15r•Updated 30 mins ago
17}
18
19// Middleware to check bearer token for API access
20async function requireBearerToken(c: any, next: any) {
21 const authHeader = c.req.header("Authorization");

personalShopperindex.ts12 matches

@bgschiller•Updated 1 hour ago
165
166// Get current user info
167app.get("/api/user", async (c) => {
168 const user = await getCurrentUser(c);
169 if (!user) {
181
182// Update user location
183app.put("/api/user/location", async (c) => {
184 const user = await getCurrentUser(c);
185 if (!user) {
199
200// Get all guidance for current user
201app.get("/api/guidance", async (c) => {
202 const user = await getCurrentUser(c);
203 if (!user) {
210
211// Search guidance
212app.get("/api/guidance/search", async (c) => {
213 const user = await getCurrentUser(c);
214 if (!user) {
226
227// Create guidance
228app.post("/api/guidance", async (c) => {
229 const user = await getCurrentUser(c);
230 if (!user) {
247
248// Update guidance
249app.put("/api/guidance/:id", async (c) => {
250 const user = await getCurrentUser(c);
251 if (!user) {
261
262// Delete guidance
263app.delete("/api/guidance/:id", async (c) => {
264 const user = await getCurrentUser(c);
265 if (!user) {
275
276// Get all selections for current user
277app.get("/api/selections", async (c) => {
278 const user = await getCurrentUser(c);
279 if (!user) {
286
287// Get selection by item name
288app.get("/api/selections/item/:itemName", async (c) => {
289 const user = await getCurrentUser(c);
290 if (!user) {
303
304// Create or update selection
305app.post("/api/selections", async (c) => {
306 const user = await getCurrentUser(c);
307 if (!user) {
325
326// Update selection
327app.put("/api/selections/:id", async (c) => {
328 const user = await getCurrentUser(c);
329 if (!user) {
339
340// Delete selection
341app.delete("/api/selections/:id", async (c) => {
342 const user = await getCurrentUser(c);
343 if (!user) {
rapilot330
Kapil01