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/?q=api&page=447&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 4574 results for "api"(368ms)

fineTuningJob1README.md1 match

@stevekrouse•Updated 1 year ago
1null
2
3Migrated from folder: External_APIs/openai/fineTuningJob1

aliveREADME.md1 match

@stevekrouse•Updated 1 year ago
1# Human Alive-ness API
2
3It works by querying Wikidata via SPARQL to search for birth and death dates of a person.

openstreetmapAPIexampleREADME.md2 matches

@tmcw•Updated 1 year ago
1# Requesting data from the OpenStreetMap API
2
3The [OpenStreetMap API](https://wiki.openstreetmap.org/wiki/API_v0.6) allows both unauthenticated public reads and writes using authentication tokens. This example shows us getting the first node ever created in the project, which was last edited by [owene](https://www.openstreetmap.org/user/owene).

octokitGraphQLExampleREADME.md1 match

@tmcw•Updated 1 year ago
1# octokit/graphql
2
3This [alternative driver](https://www.npmjs.com/package/@octokit/graphql) for the GitHub API exposes it via GraphQL.

canvasTextREADME.md1 match

@tmcw•Updated 1 year ago
3![](https://tmcw-canvastext.web.val.run/)
4
5This image is generated by the Val below and exposed to the internet with the [Web API](https://docs.val.town/api/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

PassphraseAPI2 file matches

@wolf•Updated 2 days ago

openapi2 file matches

@stevekrouse•Updated 4 days ago
artivilla
founder @outapint.io vibe coding on val.town. dm me to build custom vals: https://artivilla.com
fiberplane
Purveyors of Hono tooling, API Playground enthusiasts, and creators of 🪿 HONC 🪿 (https://honc.dev)