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.
all avatar
Countdown
@all
HTTP (deprecated)
doesn't work, cool css
willthereader avatar
story_wordcount
@willthereader
Script
// Define a type for the results that will be fetched
stungeye avatar
trpc
@stungeye
Script
An interactive, runnable TypeScript val by stungeye
Llad avatar
countA
@Llad
Script
// set by Llad.countPlusPlus at 2023-07-01T16:18:37.827Z
axel_sb avatar
hnTopStoryExample
@axel_sb
Script
An interactive, runnable TypeScript val by axel_sb
alexpetros avatar
hnTopStory
@alexpetros
HTTP (deprecated)
Forked from stevekrouse/hnTopStory
postpostscript avatar
sqliteUniverseExample
@postpostscript
Script
An interactive, runnable TypeScript val by postpostscript
pranjaldotdev avatar
poller
@pranjaldotdev
Cron
bytes.dev newsletter notifier Tech Stack val.town - Infrastructure SQLite - Database Deno - Runtime Pushover - Notifications How it works At the lowest level it is powered by 3 main scripts, which are invoked by a scheduled cron job that runs daily scraper Goes to bytes.dev and scrapes latest published newsletter inserter Insert it to SQLite if this newsletter already not exists notifier Uses Pushover API to send ios mobile notifications Pushover notifications
dglazkov avatar
bbrun
@dglazkov
Script
A simple chat app harness for your board Provides a very simple chat app UI for a Breadboard board. For now, requires you to be running a board server. This harness actually acts as a proxy to the board server run API endpoint , and puts a nice (well, somewhat nice) frontend on top of it. The frontend is somewhat limited in what it can show, currently supporting only LLMContent and array of LLMContent outputs, and only LLMContent array input. The script will look for the BB_LIVE_KEY in your Val Town environment, which must contain your board server API key. To use, create an HTTP val, then import the proxy function from this script and call it like this: import { proxy } from "https://esm.town/v/dglazkov/bbrun"; export default proxy( "url-to-the-board.bgl.json", );
jacoblee93 avatar
questionsWithGuidelinesChain
@jacoblee93
Script
An interactive, runnable TypeScript val by jacoblee93
arthrod avatar
Chatprincipal
@arthrod
HTTP
@jsxImportSource https://esm.sh/react
janpaul123 avatar
valle_tmp_3281791973083323415470267124650072
@janpaul123
HTTP (deprecated)
An interactive, runnable TypeScript val by janpaul123
enzonotario avatar
githubRepos
@enzonotario
Script
An interactive, runnable TypeScript val by enzonotario
janpaul123 avatar
valle_tmp_37837502302405213008399027398504622
@janpaul123
HTTP (deprecated)
An interactive, runnable TypeScript val by janpaul123
markthree avatar
github
@markthree
Script
An interactive, runnable TypeScript val by markthree
begoon avatar
slackbot
@begoon
HTTP
A simple Slack chat bot prototype able to reply to mentions, channel messages containing keywords, add reactions and act on the slash commands.