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/$%7Burl%7D?q=api&page=1119&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 12013 results for "api"(916ms)

1Migrated from folder: External_APIs/telegram/telegramWebhook/telegramValTownBotWebhookSetup
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

@stevekrouseUpdated 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

@stevekrouseUpdated 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

@stevekrouseUpdated 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

@galliganUpdated 1 year ago
1Migrated from folder: Bitly/callPrivateAPI

bitlyAPIREADME.md1 match

@galliganUpdated 1 year ago
1Migrated from folder: Bitly/bitlyAPI

telegramValTownBotREADME.md1 match

@stevekrouseUpdated 1 year ago
1Migrated from folder: External_APIs/telegram/telegramValTownBot

telegramREADME.md4 matches

@stevekrouseUpdated 1 year ago
50## How it works
51
52Telegram has a lovely API.
53
541. I created a @ValTownBot via [Bot Father](https://t.me/botfather).
552. I created a [webhook](https://www.val.town/v/stevekrouse.telegramValTownBotWebhook) and [registered it with telegram](https://www.val.town/v/stevekrouse.telegramValTownBotWebhookSetup)
563. Whenever someone new messages @ValTownBot, I generate a secret and save it along with their Chat Id in @stevekrouse/telegramValTownBotSecrets (a private val), and message it back to them
574. Now whenever you call this val, it calls [`telegramValTownAPI`](https://www.val.town/v/stevekrouse.telegramValTownAPI), which looks up your Chat Id via your secret and sends you a message
58
59## Telegram Resources
71
72- [ ] Store user data in Val Town SQLite
73- [ ] Parse user data on the API side using Zod
74
75Migrated from folder: External_APIs/telegram/telegram

textToImageDalleREADME.md1 match

@hootzUpdated 1 year ago
1A wrapper for OpenAI's DALLE API. See the API reference here: https://platform.openai.com/docs/api-reference/images/create?lang=curl

social_data_api_project3 file matches

@tsuchi_yaUpdated 38 mins ago

simple-scrabble-api1 file match

@bryUpdated 3 days ago
papimark21
socialdata
Affordable & reliable alternative to Twitter API: ➡️ Access user profiles, tweets, followers & timeline data in real-time ➡️ Monitor profiles with nearly instant alerts for new tweets, follows & profile updates ➡️ Simple integration