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.
stevekrouse avatar
pollRSSInkAndSwitch
@stevekrouse
Script
// set at Thu Sep 19 2024 17:58:23 GMT+0000 (Coordinated Universal Time)
stevekrouse avatar
reloadOnSave
@stevekrouse
Script
Forked from stevekrouse/ReloadScript
std avatar
set
@std
Script
@std.set Deprecated: use @std/blob now instead. Set a val on your account to JSON, which you can use as a key-value store.
erlenstar avatar
pctPermitChecker
@erlenstar
Script
// fetch("https://portal.permit.pcta.org/availability/mexican-border.php").then(resp => console.log(resp.body));
substrate avatar
hackerNewsRAG
@substrate
HTTP (deprecated)
Forked from substrate/similarSites
yawnxyz avatar
SidebarToArchive
@yawnxyz
HTTP (deprecated)
Sidebar.io Archiver Sidebar's been one of my biggest design resources for the last decade. Since sidebar.io's break announcement this morning (https://sidebar.io/break/) I've set out to mess around with using Val.town to archive sidebar. The Google Sheet can be found here: https://docs.google.com/spreadsheets/d/1RghvMfPTR5xvHMAk1pKYuH2pFYYKOJ6bH0LLkHNZiuc/edit?usp=sharing Initially I was just piping data to Google Sheets but that's slow, wasteful and kind of dumb... instead I just wrapped Hono around the code to provide a download the CSV to browser.
agorushkin avatar
state
@agorushkin
Script
// set by agorushkin.increase at 2023-06-10T10:43:07.798Z
tmcw avatar
duckdbExample
@tmcw
Script
DuckDB DuckDB works on Val Town, with only one small tweak! We're basically using DuckDB in the same way you'd use it with a browser - using the WASM package with its dependencies fetched from jsdelivr . The only trick is to create the worker ourselves rather than using duckdb.createWorker . DuckDB's built-in createWorker method doesn't specify a worker type, which causes type to default to classic , and Deno (our runtime) doesn't support classic workers.
ubyk avatar
classicPeachTahr
@ubyk
Cron
Forked from stevekrouse/btcPriceAlert
pomdtr avatar
hackernews
@pomdtr
Script
An interactive, runnable TypeScript val by pomdtr
jamesdury avatar
githubEvents
@jamesdury
Script
An interactive, runnable TypeScript val by jamesdury
glommer avatar
getThreadsActivity
@glommer
Script
An interactive, runnable TypeScript val by glommer
pomdtr avatar
val_to_listitem
@pomdtr
Script
An interactive, runnable TypeScript val by pomdtr
bnorick avatar
load_new_subreddit_posts
@bnorick
Script
An interactive, runnable TypeScript val by bnorick
bram avatar
githubEvents
@bram
Script
An interactive, runnable TypeScript val by bram
bryanph avatar
hnFollowPollJob
@bryanph
Script
Forked from stevekrouse/hnFollowPollJob
…
20
…
Next