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.
janpaul123 avatar
valle_tmp_32548579067333305484587672007568
@janpaul123
HTTP (deprecated)
// Comment: Crafting a streamlined server with Hono that sends back SVG sparkline and a playful animated cat goofing around
tmcw avatar
duckDbCsv
@tmcw
Script
An interactive, runnable TypeScript val by tmcw
tmcw avatar
big_story
@tmcw
Cron
An interactive, runnable TypeScript val by tmcw
dvdsgl avatar
glide
@dvdsgl
Script
Glide API 2.0 Effects and utility functions for working with Glide API 2.0. Authentication Set glide environment variable to authenticate. If using effect, you can also provide a layer constructed with Glide.layer . Examples Simplest case, use runIngest with an async fetch : import * as Glide from "https://esm.town/v/dvdsgl/glide"; await Glide.importTable({ table: "abc123-def456-ghi789", getRows: async function*() { // yield Row[] to add them to the stash yield [{ Name: "David" }]; }, }); Load 20k pull requests: import * as Glide from "https://esm.town/v/dvdsgl/glide"; await Glide.importTable({ table: "abc123-def456-ghi789", getRows: async function*() { const octokit = new Octokit({ auth: "..." }); for await ( const { data: prs } of octokit.paginate.iterator(octokit.rest.pulls.list, { owner: "glideapps", repo: "glide", state: "all" }) ) yield prs; }, });
helllo_world avatar
First
@helllo_world
Script
Forked from talha_husnain/First
webup avatar
modelSampleLLMCall
@webup
Script
An interactive, runnable TypeScript val by webup
chet avatar
notifyHackerNewsReplies
@chet
Cron
An interactive, runnable TypeScript val by chet
saolsen avatar
connect4_agent_mcts
@saolsen
HTTP (deprecated)
An interactive, runnable TypeScript val by saolsen
stevekrouse avatar
githubEvents
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
Jerrad avatar
usdGBP
@Jerrad
Script
// Convert 100 British pounds to US dollars
samweist avatar
ForexDataHub
@samweist
HTTP
An interactive, runnable TypeScript val by samweist
jaandrle avatar
mastodon$stats_cz_week
@jaandrle
Script
No. of statuses, login (~active users) and new registrations for all Czech instances of Mastodon last week.
oske avatar
fetchBinance
@oske
Script
An interactive, runnable TypeScript val by oske
stevekrouse avatar
hnLatestPosts
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
willthereader avatar
Jumpchain_Website
@willthereader
HTTP
Forked from willthereader/homepage
sebdd avatar
tootLatestPosts
@sebdd
Script
An interactive, runnable TypeScript val by sebdd