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=1074&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 11547 results for "api"(2282ms)

addShortlinkREADME.md1 match

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

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

FigmaFileObjectAsyncREADME.md1 match

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

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

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

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

@rodrigotelloUpdated 1 year ago
1Migrated from folder: Figma/figmaAPIURL

pollREADME.md1 match

@tmcwUpdated 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.

openaiOpenAPIREADME.md1 match

@stevekrouseUpdated 1 year ago
1Migrated from folder: Archive/gptPlugin/openaiOpenAPI

buttonREADME.md1 match

@stevekrouseUpdated 1 year ago
1# SVG Button Link for Markdown
2
3Pioneered by [@easrng](/u/easrng), this val allows you to create an SVG image via the Express API, which we can embed in Val Town markdown, and wrap so it acts like a button.
4
5## Usage

gptApiTemplate2 file matches

@charmaineUpdated 1 day ago

mod-interview-api1 file match

@twschillerUpdated 1 day ago
apiv1
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