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/$%7Bsuccess?q=api&page=1064&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 11504 results for "api"(2819ms)

serve_routerREADME.md2 matches

@yieldray•Updated 1 year ago
3<https://yieldray-serve_router.web.val.run/user/ray>
4<https://yieldray-serve_router.web.val.run/headers>
5<https://yieldray-serve_router.web.val.run/api>
6<https://yieldray-serve_router.web.val.run/api/one>
7
8Migrated from folder: examples/serve_router

webREADME.md1 match

@yieldray•Updated 1 year ago
1# [Debug ValTown's Web API](https://yieldray-web.web.val.run)
2
3Migrated from folder: Archive/web

urlQueryStringExampleREADME.md2 matches

@tmcw•Updated 1 year ago
1This example shows how to get the query parameters out of a request with the Web API. Check out the [searchParams](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams) object for more ways to handle query parameters.
2
3Migrated from folder: Web_API/urlQueryStringExample

ittyRouterExampleREADME.md2 matches

@tmcw•Updated 1 year ago
1# itty-router
2
3This is an example of using the Val Town [Web API](https://docs.val.town/api/web) to integrate with [itty-router](https://github.com/kwhitley/itty-router).
4
5### Server examples
10- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
11
12Migrated from folder: Web_API/ittyRouterExample

nhttpExampleREADME.md2 matches

@tmcw•Updated 1 year ago
1# nhttp example
2
3This uses the tiny [nhttp framework](https://github.com/nhttp/nhttp) with the Val Town [Web API](https://docs.val.town/api/web). New frameworks like `nhttp` works really well with our system because they rely on the standard Request & Response objects!
4
5### Server examples
10- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
11
12Migrated from folder: Web_API/nhttpExample

pekoExampleREADME.md2 matches

@tmcw•Updated 1 year ago
1# peko
2
3This is an example of using the tiny [peko](https://peko.deno.dev/) example with Val Town - it's a small router that lets you build web apps using the standard [Request](https://developer.mozilla.org/en-US/docs/Web/API/Request) & [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) objects.
4
5Peko just provides routing - matching URLs with functions - and lets you create your own Response object.
12- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
13
14Migrated from folder: Web_API/pekoExample

honoExampleREADME.md2 matches

@tmcw•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!
4
5
11- [Nhttp](https://www.val.town/v/tmcw.nhttpExample)
12
13Migrated from folder: Web_API/honoExample

headersExampleREADME.md1 match

@tmcw•Updated 1 year ago
1null
2
3Migrated from folder: Web_API/headersExample

headersExampleREADME.md1 match

@tmcw•Updated 1 year ago
1Migrated from folder: Web_API/headersExample

htmlExampleREADME.md3 matches

@tmcw•Updated 1 year ago
1# Returning HTML from the Val Town Web API
2
3This just lets you use the standard [Response](https://developer.mozilla.org/en-US/docs/Web/API/Response) object with our [Web API](https://docs.val.town/api/web) to return an HTML response from this Val.
4
5Migrated from folder: Web_API/htmlExample

gptApiTemplate2 file matches

@charmaine•Updated 15 hours ago

mod-interview-api1 file match

@twschiller•Updated 1 day ago
apiv1
papimark21