Back to APIs list

US Congress Stock Trading API examples & templates

Use these vals as a playground to view and fork US Congress Stock Trading API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
park avatar
subredditExample
@park
Script
// Reddit recent posts from /r/aww (cute animals)
maas avatar
importGists
@maas
Script
Imports Gists to Val Town Import your TypeScript and JavaScript to Val Town Authentication This function requires two keys: one from Github to get your gists, and one from Val Town to make the vals in your account: Github token: https://github.com/settings/tokens Val Town key: https://www.val.town/settings/api Usage You can use this function by calling it and passing your keys like so: @maas.importGists({ githubToken: @me.secrets.githubGists, valTownKey: @me.secrets.valtown, }); Example usage: https://www.val.town/v/maas.untitled_harlequinCrawdad
tmcw avatar
styleSystem
@tmcw
Script
@jsxImportSource npm:hono/jsx
cathy avatar
getMuniStopInfo
@cathy
Script
// e.g. https://www.sfmta.com/stops/carl-st-stanyan-st-13915
ije avatar
ics_example
@ije
Script
Forked from stevekrouse/ics_example
stevekrouse avatar
myPelotonWorkouts
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
z233 avatar
bebopBotWebhook
@z233
Script
An interactive, runnable TypeScript val by z233
stevekrouse avatar
multipleKeysAndMemoryConversationChainExample
@stevekrouse
Script
Forked from jacoblee93/multipleKeysAndMemoryConversationChainExample
stevekrouse avatar
msYear
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
neverstew avatar
ivoryPorpoise
@neverstew
HTTP (deprecated)
@jsxImportSource https://esm.sh/preact
pomdtr avatar
invoice_schema
@pomdtr
HTTP (deprecated)
An interactive, runnable TypeScript val by pomdtr
tempguy avatar
stream
@tempguy
HTTP (deprecated)
@jsxImportSource npm:hono@3/jsx
dustingetz avatar
hnEmail
@dustingetz
Script
An interactive, runnable TypeScript val by dustingetz
janpaul123 avatar
valle_tmp_463480496454860730332801536131093
@janpaul123
HTTP (deprecated)
// This updated val serves an HTML page emulating a Hacker News clone.
rendall avatar
starWars
@rendall
Script
// Explore the Star Wars universe, from StarWarsAPI
stevekrouse avatar
valTownTeam
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse