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.
ubyk avatar
straightBronzePorcupine
@ubyk
Cron
Forked from stevekrouse/btcPriceAlert
maxm avatar
multiplayerCircles
@maxm
HTTP (deprecated)
Multiplayer Circles Move circles around. State is synced with the server. Open a window in another tab and watch the circles update as you move them .
jonbo avatar
nearbyJonBo
@jonbo
Script
Forked from tmcw/big_story_visualization
rchasman avatar
githubStarred
@rchasman
Script
// GitHub starred repos
postpostscript avatar
sqliteBuilder
@postpostscript
Script
sqliteBuilder: Opinionated safe(r) query builder using tagged templates import { Statement } from "https://esm.town/v/postpostscript/sqliteBuilder"; const unsafeId = "1234 or TRUE" console.log(Statement` SELECT * FROM table WHERE id = ${unsafeId} ${Statement`AND otherCondition`} `) // StatementInstance { // sql: "\nSELECT *\nFROM table\nWHERE id = ?\nAND otherCondition\n", // args: [ "1234 or TRUE" ], // log: false // } const results = await Statement`SELECT ...`.execute() // [ { key: "value", anotherKey: "anotherValue" }, ... ] Or you can pass it directly to @std/sqlite.execute : import { sqlite } from "https://esm.town/v/std/sqlite" await sqlite.execute(Statement`Select ...`) You can combine multiple statements using Statement.prototype.combineWith : Statement`...`.combineWith(Statement`...`, " AND ") [ Statement`fieldA`, Statement`fieldB`, Statement`fieldC`, ].reduce((a, b) => a.combineWith(b, ", "))
nbbaier avatar
react_client
@nbbaier
Script
Forked from pomdtr/react_example_client
joey avatar
PUBLIC_STATE
@joey
Script
// set at Fri Sep 20 2024 00:47:29 GMT+0000 (Coordinated Universal Time)
janpaul123 avatar
VALLEDRAW
@janpaul123
HTTP
Forked from janpaul123/reacttldraw
fahadakhan2 avatar
slackScout
@fahadakhan2
Cron
Forked from sarahxc/slackScout
ubyk avatar
immenseBlueFrog
@ubyk
Cron
Forked from stevekrouse/btcPriceAlert
huangyuzhang avatar
btcPriceAlert
@huangyuzhang
Script
Forked from stevekrouse/btcPriceAlert
eagle251 avatar
TanaCurrency
@eagle251
Script
An interactive, runnable TypeScript val by eagle251
meatcar avatar
watchLCBO_JD3L
@meatcar
Cron
An interactive, runnable TypeScript val by meatcar
harper avatar
DropNotification
@harper
Cron
A simple bot that will grab the products from a shopify store and check for new products or products in stock. If they are found it will send a pushover alert.
jian avatar
githubStarred
@jian
Script
// GitHub starred repos
metart43 avatar
getOctopusEnergyRates
@metart43
HTTP (deprecated)
// Declare the function as async and export it
…
15
…
Next