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=1068&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 11489 results for "api"(1932ms)

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

populateTwitterDBREADME.md1 match

@stevekrouse•Updated 1 year ago
1# Poll Twitter & Populate SQlite database
2
3The twitter API (or in this case someone else's wrapper over the twitter API) is finicky, so we just try to get one handle per minute, and shove whatever we get into our database, which could be an error message (this is why handles don't have a unique index).
4
5Migrated from folder: Archive/turso/twitterFollows/populateTwitterDB

genvalREADME.md1 match

@andreterron•Updated 1 year ago
1# [Generate a Val](https://andreterron-genval.express.val.run)
2
3Uses the OpenAI API to generate code for a val based on the description given by the user.
4
5TODO:

big_story_visualizationREADME.md1 match

@tmcw•Updated 1 year ago
1# [The Big Story](https://tmcw-big_story_visualization.express.val.run/)
2
3This val, along with [@tmcw.big_story](https://www.val.town/v/tmcw.big_story), which requests from the [New York Times API](https://developer.nytimes.com/), and [@tmcw.big_stories_ranks](https://www.val.town/v/tmcw.big_stories_ranks), which contains the data, generates a visualization of top stories on the NYTimes homepage.
4
5This is here just to ask the question – what happens to cover stories over time? Do they slowly drop down the page, or just get replaced by a fully new lede? So far it doesn't have quite enough data to answer that question.

figmaAPIURLREADME.md1 match

@rodrigotello•Updated 1 year ago
1Migrated from folder: Figma/figmaAPIURL

pollREADME.md1 match

@tmcw•Updated 1 year ago
5[https://tmcw-poll.express.val.run](https://tmcw-poll.express.val.run)
6
7This val, along with a val called `poll_results` and a val called `poll_options`, lets you conduct a little poll using just Val Town! With the [express API](https://docs.val.town/api#9bff1f5f778e4fe3a143df8169101795), this exposes a web interface in which people can click an option and vote. We make sure everyone only votes once by setting a cookie in their browser.
8
9This uses [htmx](https://htmx.org/) to make the voting experience slick, [Tailwind](https://tailwindcss.com/) to style the UI, and [htm](https://github.com/developit/htm) to generate HTML for the pages.

gptApiTemplate2 file matches

@charmaine•Updated 4 hours ago

mod-interview-api1 file match

@twschiller•Updated 21 hours ago
apiv1
papimark21