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.
yieldray avatar
anime
@yieldray
Script
An interactive, runnable TypeScript val by yieldray
rustyb avatar
getTelAvivMobilitySpots
@rustyb
Script
An interactive, runnable TypeScript val by rustyb
stevekrouse avatar
verifySecretAPI
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
stevekrouse avatar
testEmail2
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
mux avatar
youTubeCommentWatcher
@mux
Cron
YouTube Comment Watcher Only a few people on the team were getting the comment updates from YouTube, but we wanted everyone to see them just in case. This monitors all the YouTube videos in our channel and sends out an email whenever we get a new comment so the team can pop in if they need to. Usage Set the environment variables for YOUTUBE_API_KEY and YOUTUBE_CHANNEL_ID Fork this Go
romannurik avatar
todoTools
@romannurik
HTTP (deprecated)
An interactive, runnable TypeScript val by romannurik
pomdtr avatar
awesome
@pomdtr
HTTP (deprecated)
Awesome Val Town An curated list of useful community vals. Feel free to create your own awesome list! Apps @pomdtr/blob_editor @nbbaier/sqliteExplorerApp View and interact with your Val Town SQLite data. @pomdtr/http_client Attach a postman-like http client to your vals VS Code Extension vt Chrome Extension Tooling Authentication @pomdtr/basicAuth @pomdtr/email_auth @pomdtr/password_auth Sqlite @sqlite/db @pomdtr/sql @pomdtr/kv @postpostscript/sqliteUniverse Blob @stevekrouse/blobAdmin @pomdtr/lowdb Middleware @andreterron/codeOnValTown Testing @pomdtr/test_explorer Api @pomdtr/api @pomdtr/trpc Other @vladimyr/valshot @pomdtr/mdx @pomdtr/serve_readme OpenAI @pomdtr/ask_ai Web Components Val Town Playground CodeMirror
tmcw avatar
punycodeExample
@tmcw
Script
punycode punycode is so cool. It's esoteric, but like, it's amazing what ingenuity can do. It's an encoding of UTF-8 - the kind of text with easy representations for unicode sequences like ñ - in ASCII - the one that just supports English. It does this in a way that's reversible, and lets us use UTF8 text in ASCII places, because you can also detect when something is written in punycode. Do you need this, probably not – but someday you will, and you will remember.
kora avatar
redis
@kora
Script
Upstash Redis For more methods, see Upstash Docs
pomdtr avatar
whoami
@pomdtr
Script
Forked from easrng/whoami
todepond avatar
labLoginBanUser
@todepond
HTTP (deprecated)
An interactive, runnable TypeScript val by todepond
all avatar
textStorage
@all
HTTP
* This program creates a text storage and management application. * It uses Val Town's SQLite for persistence and React for the UI. * The app allows users to add, view, edit, and delete text entries with titles, tags, and categories. * It includes a header with navigation, search bar, filters, a tabbed template page with 100 templates, * a categories section, and a new history tab that logs all edits.
mmcc avatar
seiveDubbing
@mmcc
HTTP (deprecated)
Forked from mux/seiveDubbing
pomdtr avatar
sunbeam
@pomdtr
HTTP (deprecated)
An interactive, runnable TypeScript val by pomdtr
janpaul123 avatar
valle_tmp_0795929485980921815770770417569246
@janpaul123
HTTP (deprecated)
// This script will respond with a basic HTML page instead of plain text using the built-in Response class in TypeScript.
gwoods22 avatar
scraper_template
@gwoods22
Script
Website Scraper Template A basic website scraper template that can be ran on an interval to check for changes. It uses blob storage to save whatever data you'd like to compare the website to. Uses my sendNotification val to alert yourself of the change. Steps to use Add the scrapeURL you would like to scrape and pick a name for your blob storage blobKey . Change the "selector" value to fit your needs. cheerio is used to find the part of the page you'd like to check. Adjust the if statement to detect changes and update your blob Craft a message to be sent with sendNotification() function