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.
jdan avatar
jdan
svgMapOfCountry
Script
An interactive, runnable TypeScript val by jdan
0
tmcw avatar
tmcw
t
Script
An interactive, runnable TypeScript val by tmcw
0
ptr avatar
ptr
getHolidays
Script
An interactive, runnable TypeScript val by ptr
0
janpaul123 avatar
janpaul123
valle_tmp_26782413535145323813564331992605
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
postpostscript avatar
postpostscript
abortable
Script
// SPDX-License-Identifier: Apache-2.0
0
jbwinters avatar
jbwinters
KidsCodingDameDinoAdventure
HTTP
* This val implements a Dino Code Adventure game using React. * It uses client-side React for the game logic and UI, and * includes a server-side endpoint for storing high scores.
0
vtdocs avatar
vtdocs
discordSendDM
Script
An interactive, runnable TypeScript val by vtdocs
1
rozek avatar
rozek
GDI_DigitalClock
HTTP
Forked from rozek/GDI_HelloWorld
0
henrii avatar
henrii
nasaAPOD
Script
Forked from danny/nasaAPOD
0
stevekrouse avatar
stevekrouse
openai_structured_output_demo
Script
OpenAI Structured Output Demo Ensure responses follow JSON Schema for structured outputs The following demo uses zod to describe and parse the response to JSON. Learn more in the OpenAI Structured outputs docs .
3
stevekrouse avatar
stevekrouse
someDom
Script
@jsxImportSource https://esm.sh/preact
0
janpaul123 avatar
janpaul123
valle_tmp_642242117750307901497006663363
HTTP
* This approach will create a simple HTML page with embedded CSS for the wild styling and a bit of JavaScript to handle the game logic of Wordle. * We'll use vanilla JavaScript and HTML for simplicity, no external libraries or frameworks are necessary. * The CSS will include bold color gradients, vibrant fonts, and other "crazy" styles.
0
tfayyaz avatar
tfayyaz
react_tldraw
HTTP
Forked from pomdtr/react_example
1
cephalization avatar
cephalization
smsjournalerregistration
HTTP
@jsxImportSource https://esm.sh/react
1
saolsen avatar
saolsen
redis
Script
Upstash redis client for vals. Creates a global redis instance and exposes functions to use it. To use, create a redis database on Upstash and set the environment variables. UPSTASH_REDIS_REST_URL UPSTASH_REDIS_REST_TOKEN Val.town runs in ohio so the best region to pick for the redis instance is probably us-east-1 . Calls are also traced via https://www.val.town/v/saolsen/tracing so if you use that library you will see timed spans for any redis calls. For an example of how to use it see https://www.val.town/v/saolsen/try_redis
0
pomdtr avatar
pomdtr
apricotPartridge
HTTP
// use my private proxy
0