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
stevekrouse
zombieVal
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
getDiscordMessages
Script
An interactive, runnable TypeScript val by stevekrouse
0
rodrigotello avatar
rodrigotello
hnEmail
Script
Forked from stevekrouse/hnEmail
1
janpaul123 avatar
janpaul123
valle_tmp_6792193506514019542960400413897
HTTP
// This HTTP val creates a comment box where users can submit comments.
0
stevekrouse avatar
stevekrouse
todo_db_repl
Script
An interactive, runnable TypeScript val by stevekrouse
0
dhvanil avatar
dhvanil
val_GdQyHIp24O
HTTP
An interactive, runnable TypeScript val by dhvanil
0
rozek avatar
rozek
InvocationTracker_Test
HTTP
Here are some tests for val InvocationTracker Test Cases Constructor test with valid inputs tests creating a new InvocationTracker instance with valid name and granularity Constructor test with invalid name verifies that creating an InvocationTracker with an invalid name throws an error Constructor test existing table verifies that creating an InvocationTracker with an already existing table does not modify that table Granularity method test checks if the Granularity() method returns the correct initial granularity value setGranularity method test tests setting a new granularity value and verifies it's updated correctly increment method test verifies that the increment() method correctly increases the invocation count InvocationsInSpan method test tests retrieving invocations within a specific time span, including multiple time periods totalInvocationsInSpan method test checks if the total number of invocations within a given time span is calculated correctly reset method test verifies that the reset() method clears all recorded invocations
0
brunobesson avatar
brunobesson
c2cApiEmailAlerts
HTTP
An interactive, runnable TypeScript val by brunobesson
0
kamalnrf avatar
kamalnrf
rssFeeds
Script
Forked from stevekrouse/rssFeeds
0
temptemp avatar
temptemp
workers
HTTP
Forked from tempdev/workers
0
tmcw avatar
tmcw
sqliteExample
Script
sqlite This uses a Deno+WASM+SQLite approach. Using SQLite ! Running SQLite in memory works great, and the SQLite module just uses WebAssembly so it works within the Val Town permissions model.
0
ramkarthik avatar
ramkarthik
raindropBookmarks
Script
An interactive, runnable TypeScript val by ramkarthik
1
jxnblk avatar
jxnblk
avatar
HTTP
Jxnblk's SVG avatar React import { Avatar } from "https://esm.town/v/jxnblk/avatar"; Props <Avatar size={96} color="tomato" reverse={true} /> SVG import { svg } from "https://esm.town/v/jxnblk/avatar"; img <img src="https://jxnblk-avatar.web.val.run" alt="Jxnblk" /> img params https://jxnblk-avatar.web.val.run?size=96&color=tomato&reverse=true md ![Jxnblk](https://jxnblk-avatar.web.val.run)
1
stevekrouse avatar
stevekrouse
populateTwitterDB
Script
Poll Twitter & Populate SQlite database The twitter API (or in this case someone else's wrapper over the twitter API) is finicky, so we just try to get one handle per minute, and shove whatever we get into our database, which could be an error message (this is why handles don't have a unique index).
0
huzaifa527 avatar
huzaifa527
fastAIAssistant
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
rwev avatar
rwev
adjustMsToWeekday
Script
An interactive, runnable TypeScript val by rwev
0