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.
zhsumei avatar
zhsumei
chatSampleSystemRoleSimple
Script
Forked from webup/chat
0
stevekrouse avatar
stevekrouse
datme_home_geo
HTTP
Forked from stevekrouse/dateme_home
0
rapilot330 avatar
rapilot330
quest
HTTP
Forked from mewtru/valentine
0
janpaul123 avatar
janpaul123
valle_tmp_39122300029538671437128838517412
HTTP
// We'll create a simple comment system using an input field and a button to submit comments.
0
vawogbemi avatar
vawogbemi
reqEvaltown
HTTP
Forked from maxm/reqEvaltown
0
iakovos avatar
iakovos
renderTopStories
Script
An interactive, runnable TypeScript val by iakovos
0
kamenxrider avatar
kamenxrider
falDemoApp
HTTP
Forked from stevekrouse/falDemoApp
0
stevekrouse avatar
stevekrouse
thisEmail
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
remarkHtmlTest
Script
// Forked from @nbbaier.remarkHtmlTest
0
stevekrouse avatar
stevekrouse
zod_demo_http
HTTP
This val shows how to break up your HTTP val into three vals: @stevekrouse/zod_demo_http (this val) @stevekrouse/zod_demo_frontend (client-side react component) @stevekrouse/zod_demo_shared (code that is imported in both vals, but only run on the backend) I have these vals in a folder. Unfortunately, folders are not publicly shareable, which is why I listed all the vals above. The Val Town full-screen editor makes it a lot easier to work with multiple vals at once. The trickiest and most interesting part of this particular demo is how we import just the zod type in the frontend which avoids the error if we were to import any real value from that shared file. In this sense, it's not a truly safe shared file. Open questions I don't know why zod types aren't working when imported via esm.sh I don't know how we would get zod validation working on the frontend without reimporting zod from esm.sh (which would then lose us types or require us to duplicate the zod code)
0
hestrio avatar
hestrio
valentine
HTTP
Forked from mewtru/valentine
0
faruqare83 avatar
faruqare83
funnyMoccasinAnt
HTTP
Forked from faruqare83/valentine
0
eligosmlytics avatar
eligosmlytics
imageToWebPConverter
HTTP
@jsxImportSource https://esm.sh/react
0
johndevor avatar
johndevor
reactExample
HTTP
asdfasdf
0
VallSter avatar
VallSter
valentine
HTTP
Forked from mewtru/valentine
0
janpaul123 avatar
janpaul123
getValsContextWindow
Script
An interactive, runnable TypeScript val by janpaul123
0