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=1056&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 11496 results for "api"(2428ms)

snsFromInscriptionREADME.md1 match

@ryanwaits•Updated 1 year ago
1Migrated from folder: sats_api/snsFromInscription

docFeedbackFormREADME.md1 match

@parkerdavis•Updated 1 year ago
30```
31
32Finally, you may be wondering why I queue up feedback in `@stevekrouse.docsFeedback`, a private JSON val, and then process it via [`@stevekrouse.formFeedbackAlert`](https://www.val.town/v/stevekrouse.formFeedbackAlert) instead of sending it along to Discord directly in this val. I [tried that originally](https://www.val.town/v/stevekrouse.docFeedbackForm?v=61) but it felt too slow to wait for the API call to Discord before returning the "Thanks for your feedback" message. This is where the `context.waitUntil` method (that Cloudflare workers and Vercel Edge Functions support) would really come in handy – those allow you to return a Response, and then continue to compute. Currently Val Town requires you to stop all compute with the returning of your Response, so the only way to compute afterwards is to queue it up for another val to take over, and that's what I'm doing here.
33
34

honoExampleREADME.md1 match

@bis•Updated 1 year ago
1# Hono
2
3Here's an example using the [Hono](https://hono.dev/) server library with the [Web API](https://docs.val.town/api/web). It works great!

thisUrlREADME.md1 match

@wilt•Updated 1 year ago
1Programmatically get the API URLs for the val that calls this val. For example:
2
3```typescript

runPostExampleREADME.md1 match

@neverstew•Updated 1 year ago
1Migrated from folder: docs/api/runPostExample

runGetExampleREADME.md1 match

@neverstew•Updated 1 year ago
1Migrated from folder: docs/api/runGetExample

runREADME.md1 match

@neverstew•Updated 1 year ago
1Migrated from folder: docs/api/run

migrateREADME.md1 match

@neverstew•Updated 1 year ago
6![Capture-2023-09-14-191958.png](https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/0cfcddd2-59fc-4c8f-9322-4eba878f5400/public)
7
81. Make sure you have your Val Town API Token saved in your secrets. See more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token.
91. Make sure you've [set up your turso database](https://www.val.town/v/std.turso)
101. **[👆Fork this val](https://www.val.town/v/neverstew.migration)**

aliasValExampleREADME.md1 match

@neverstew•Updated 1 year ago
1Migrated from folder: docs/api/aliasValExample

aliasExampleREADME.md1 match

@neverstew•Updated 1 year ago
1Migrated from folder: docs/api/aliasExample

gptApiTemplate2 file matches

@charmaine•Updated 9 hours ago

mod-interview-api1 file match

@twschiller•Updated 1 day ago
apiv1
papimark21