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?q=api&page=1093&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 11753 results for "api"(3981ms)

pngREADME.md1 match

@andreterronβ€’Updated 1 year ago
5[![](https://andreterron-women_and_power.web.val.run/)](https://www.val.town/v/andreterron.women_and_power)
6
7This val uses [PNGLib](https://www.npmjs.com/package/pnglib) and Val Town's [Express API](https://docs.val.town/api#9bff1f5f778e4fe3a143df8169101795) to create and host PNG images. It can be particularly useful if you want to dynamically generate an image – for any website or API that accepts png urls.
8
9## Usage

exampleTelegramMessageREADME.md1 match

@stevekrouseβ€’Updated 1 year ago
1Migrated from folder: External_APIs/telegram/telegramWebhook/exampleTelegramMessage
1Migrated from folder: External_APIs/telegram/telegramWebhook/telegramValTownBotWebhookSetup

telegramValTownBotWebhookREADME.md1 match

@stevekrouseβ€’Updated 1 year ago
1The beating heart of the @ValTownBot on Telegram: https://www.val.town/v/stevekrouse.telegram
2
3Migrated from folder: External_APIs/telegram/telegramWebhook/telegramValTownBotWebhook

resendREADME.md2 matches

@stevekrouseβ€’Updated 1 year ago
1# Send an email via [resend](https://resend.com)
2
3Requires a [resend](https://resend.com) API key, which you can get for free.
4
5## Usage
11 subject: "Hello World",
12 html: "Congrats on sending your first email!",
13 apiKey: @stevekrouse.secrets.resend,
14});
15```

devNullREADME.md3 matches

@stevekrouseβ€’Updated 1 year ago
1# Dev Null
2
3A JS function and API inspired by `/dev/null` that will throw away whatever you send it and return `null`.
4
5## Function usage
9```
10
11## API Usage
12
13https://api.val.town/v1/run/stevekrouse.devNull?args=[%22useless%20data%22]
14
15## Why?

dmREADME.md2 matches

@stevekrouseβ€’Updated 1 year ago
21## Usage
22
23You can call this function via the [@stevekrouse.runValAPIAuth](/v/stevekrouse.runValAPIAuth) helper:
24
25```js
26@stevekrouse.runValAPIAuth({
27 val: "@stevekrouse.dm",
28 args: ["hi steve!"],

callPrivateAPIREADME.md1 match

@galliganβ€’Updated 1 year ago
1Migrated from folder: Bitly/callPrivateAPI

bitlyAPIREADME.md1 match

@galliganβ€’Updated 1 year ago
1Migrated from folder: Bitly/bitlyAPI

telegramValTownBotREADME.md1 match

@stevekrouseβ€’Updated 1 year ago
1Migrated from folder: External_APIs/telegram/telegramValTownBot

new-val-api-21 file match

@shouserβ€’Updated 30 mins ago
This is an example of using the API to create a val.

gpt-image-test

@CaptainJackβ€’Updated 16 hours ago
ζ΅‹θ―• gpt image ηš„δΈεŒ api θƒ½ε¦ζ»‘θΆ³ε›Ύη‰‡η”Ÿζˆθ¦ζ±‚
apiv1
papimark21