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.
gabefletch avatar
gabefletch
OptimalSlogans
HTTP
An interactive, runnable TypeScript val by gabefletch
0
stevekrouse avatar
stevekrouse
signECDSA
Script
An interactive, runnable TypeScript val by stevekrouse
0
ireneg avatar
ireneg
bookReservationOnResy
Script
Forked from alp/bookReservationOnResy
0
janpaul123 avatar
janpaul123
valle_tmp_49647457967619054218103114793202
HTTP
An interactive, runnable TypeScript val by janpaul123
0
kingishb avatar
kingishb
grayFinch
Email
Quick AI web search via email (useful for apple watch)
0
stevekrouse avatar
stevekrouse
fetchXML
Script
An interactive, runnable TypeScript val by stevekrouse
0
overengineered avatar
overengineered
status
HTTP
Forked from stevekrouse/status
0
vladimyr avatar
vladimyr
multikey_jwk_jcs_example
Script
// @see: https://datatracker.ietf.org/doc/html/rfc7517#appendix-A.1
0
ted avatar
ted
twitterRequest
Script
An interactive, runnable TypeScript val by ted
0
stevekrouse avatar
stevekrouse
hackerNewsDigest
Cron
Forked from roramigator/hackerNewsDigest
1
augustohp avatar
augustohp
ghAddAssigneesToAssignable
Script
An interactive, runnable TypeScript val by augustohp
0
Spikedheqrt_1 avatar
Spikedheqrt_1
sensitiveHarlequinCrawdad
HTTP
Forked from mewtru/valentine
0
jxnblk avatar
jxnblk
resrv
Script
React SSR and client-side hydration for Val Town For streaming responses use ReactStream Usage /** @jsxImportSource https://esm.sh/react */ import resrv, { React } from "https://esm.town/v/jxnblk/resrv"; function App() { const [count, setCount] = React.useState(0); return ( <div> <h1>Resrv</h1> <p>React SSR with client-side hydration in Val Town</p> <pre>{count}</pre> <button onClick={() => setCount(count - 1)}>-</button> <button onClick={() => setCount(count + 1)}>+</button> </div> ); } export default resrv(App, import.meta.url); Live example React requires matching versions for SSR and hydration. Import React from https://esm.town/v/jxnblk/resrv to ensure your component uses the same version as this library (currently react@18.3.1). HTML Root Hydration To render a component that includes a <head> and <body> tag, pass root: true to the third options argument: function App ({ script }) { return ( <body> <h1>Hello</h1> {script} </body> ); } export default resrv(App, import.meta.url, { root: true }); Inspired by https://www.val.town/v/stevekrouse/react_http
1
janpaul123 avatar
janpaul123
valle_tmp_326657081011302533454300825670922
HTTP
// This val will respond with a colorful "Hello World" HTML page with fun CSS
0
pomdtr avatar
pomdtr
markdocReactExample
HTTP
Markdoc Playground This readme is rendered using markdoc . {% val author="pomdtr" name="markdocReactExample" %}
2
stevekrouse avatar
stevekrouse
dateme_browse_react
Script
Forked from stevekrouse/dateme_browse
0