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=1070&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 11514 results for "api"(3198ms)

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

telegramREADME.md4 matches

@stevekrouse•Updated 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

@hootz•Updated 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

atprotoREADME.md1 match

@byjp•Updated 1 year ago
1A quick method to derive the ATProto PLC from a domain using Cloudflare's 1.1.1.1 service.
2
3Use as an API with val.town's usual URL structure: eg. https://api.val.town/v1/run/byjp.atproto?args=%5B%22byjp.me%22%5D
4
5Migrated from folder: ATProto/atproto

generateGuestbookSnippetREADME.md1 match

@vtdocs•Updated 1 year ago
5Using these two vals, you can put an interactive guestbook on any website.
6
7`valUser` and `valName` are used to build the Express API URL for your forked version of [`@vtdocs.guestbook`](https://www.val.town/v/vtdocs.guestbook).

addShortlinkREADME.md1 match

@byjp•Updated 1 year ago
1# Shortlinks for the decentralised web
2
3This is a script to allow API-based updating of the shortlinks/redirects in an IPFS-based shortlink repo (using val.town). I've written up how all this works on my blog at https://byjp.me/posts/link-shortener
4
5Migrated from folder: Shortlink/addShortlink

hiddenAPIREADME.md1 match

@rd3m•Updated 1 year ago
1https://api.val.town/v6/run/rd3m.hiddenApi?args=["rd3m"]

FigmaFileObjectAsyncREADME.md1 match

@rodrigotello•Updated 1 year ago
4
5You'll need
61. Figma **API token**: Read the instructions [here](https://www.figma.com/developers/api#access-tokens).
72. **Figma file ID**: Find it in the file URL. For example: *figma.com/file/**29f4m6rsDtsUofYxK329r9**/fileName?...*
8

gptApiTemplate2 file matches

@charmaine•Updated 23 hours ago

mod-interview-api1 file match

@twschiller•Updated 1 day ago
apiv1
papimark21