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/image-url.jpg%20%22Image%20title%22?q=api&page=1077&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 11661 results for "api"(2236ms)

translateREADME.md1 match

@yieldray•Updated 1 year ago
1# [Translator](https://yieldray-translate.web.val.run)
2using a [public deepl api](https://deepl.deno.dev)
3
4Migrated from folder: http/translate

referencesNotifyREADME.md1 match

@andreterron•Updated 1 year ago
4
5### Setup
61. Create a [Val Town API Token](https://www.val.town/settings/api)
72. Add it to [your secrets](https://www.val.town/settings/secrets) as `valtown`
83. Fork & Run this val

emailREADME.md2 matches

@std•Updated 1 year ago
57You can attach files to your emails by using the `attachments` field.
58Attachments need to be [Base64](https://en.wikipedia.org/wiki/Base64) encoded,
59which is what the [btoa](https://developer.mozilla.org/en-US/docs/Web/API/btoa)
60method is doing in this example:
61
94```
95
96This is also [documented in our REST API](https://docs.val.town/openapi#/tag/emails/POST/v1/email), and supported in the [SDK](https://docs.val.town/api/sdk/).
97
98

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.

wikidataREADME.md1 match

@stevekrouse•Updated 1 year ago
17## Learn more
18
19* https://agg-shashank.medium.com/an-introduction-to-using-wikidata-apis-a678ee6d2968
20
21Migrated from folder: Archive/wikidata

getValREADME.md2 matches

@neverstew•Updated 1 year ago
2Gets information about a specific val.
3
4To access private vals, pass your API token as a secret to the function. Read more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token and save it as a secret.
5
6Migrated from folder: docs/api/getVal

valREADME.md1 match

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

postValsREADME.md2 matches

@neverstew•Updated 1 year ago
2Creates a val.
3
4Requires a secret called valtownToken, set to your API Token. See more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token.
5
6Migrated from folder: docs/api/postVals

createValREADME.md1 match

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

getCommentsREADME.md2 matches

@neverstew•Updated 1 year ago
2Fetches information about any comments on vals.
3
4Requires a secret called valtownToken, set to your API Token. See more about [authentication](https://docs.val.town/api/authentication) to understand how to generate a token.
5
6Migrated from folder: docs/api/getComments

new-val-api-21 file match

@shouser•Updated 20 hours ago
This is an example of using the API to create a val.

gptApiTemplate2 file matches

@charmaine•Updated 2 days ago
mux
Your friendly, neighborhood video API.
api