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=1063&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"(1814ms)

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.

importGistsREADME.md1 match

@maas•Updated 1 year ago
12
131. Github token: https://github.com/settings/tokens
142. Val Town key: https://www.val.town/settings/api
15
16## Usage

importGistsREADME.md1 match

@stevekrouse•Updated 1 year ago
10
111. Github token: https://github.com/settings/tokens
122. Val Town key: https://www.val.town/settings/api
13
14## Usage

queryParamsREADME.md1 match

@neverstew•Updated 1 year ago
1# Handling query params in requests
2
3Using the standard [URL#searchParams](https://developer.mozilla.org/en-US/docs/Web/API/URL/searchParams) method, you can grab query parameters out of any val that is operating using the [Web API](https://docs.val.town/api/web).
4
5This val demonstrates how to grab one or more query parameters. It returns the all the query parameters found as a json response.

topLichessREADME.md1 match

@jdan•Updated 1 year ago
22* Bullet
23* Computer
24* Rapid
25* Top Rated
26* Blitz

myApiREADME.md1 match

@florian•Updated 1 year ago
1Migrated from folder: Onboarding/myApi

emailAPIREADME.md2 matches

@stevekrouse•Updated 1 year ago
1Moved to [@std.emailAPI](/std.emailAPI).
2
3Migrated from folder: Archive/emailAPI

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).

runREADME.md3 matches

@pomdtr•Updated 1 year ago
1# Augmented run api
2
3This val is a wrapper on top of the val.town run api, improving it with additional features:
4
5- basic auth
38### Passing arguments
39
40The request is proxyed to the run api, so you can pass args to your vals via query params or body. See the [run api docs](https://docs.val.town/api/run) for more details.
41
42```console

notemsREADME.md1 match

@yieldray•Updated 1 year ago
1Migrated from folder: api/notems

gptApiTemplate2 file matches

@charmaine•Updated 14 hours ago

mod-interview-api1 file match

@twschiller•Updated 1 day ago
apiv1
papimark21