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.
vtdocs avatar
vtdocs
resyBookSlot
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) Given a valid booking token, this val attempts to make a reservation for the booking token's slot. There is some retry logic as the API route (rarely) returns an internal server error.
1
taoji avatar
taoji
epg
HTTP
// Simple in-memory cache
0
maxm avatar
maxm
test_explorer
HTTP
Forked from pomdtr/test_explorer
0
andreterron avatar
andreterron
server
HTTP
Forked from tfayyaz/react_tldraw
0
stevekrouse avatar
stevekrouse
tell
Script
An interactive, runnable TypeScript val by stevekrouse
0
Croniac avatar
Croniac
WundergroundStationDisplayV2
HTTP
Forked from Croniac/WundergroundStationDisplay
0
stevekrouse avatar
stevekrouse
company
Email
Val Town Company *@val.town Email Routing This val forwards emails to addresses that don't exist to all of us at Val Town. For example, this forwards feedback@val.town to all of us. We achieve this by forwarding emails to this email handler, and this email handler forwards them along. To accomplish this without Val Town would require setting up a Google Group. I prefer doing it in code. Over time we will have more complex routing here.
1
tompatiger avatar
tompatiger
sharpCoralCoyote
Script
An interactive, runnable TypeScript val by tompatiger
0
bl3 avatar
bl3
pkmnTypesTiers
HTTP
@jsxImportSource https://esm.sh/react
0
shawnbasquiat avatar
shawnbasquiat
placeholderKittenImages
HTTP
// This val creates a publicly accessible kitten image generator using the Val Town image generation API.
1
karlkurzer avatar
karlkurzer
mock_api
Script
An interactive, runnable TypeScript val by karlkurzer
0
vladimyr avatar
vladimyr
lowdb_example
Script
Forked from pomdtr/lowdb_example
0
stevekrouse avatar
stevekrouse
notion2wallabag
HTTP
Forked from michaelfromyeg/notion2wallabag
0
karanganesan avatar
karanganesan
dm_callback_example
HTTP
Docs: https://docs.lumalabs.ai/docs/api#how-to-get-a-callback-when-generation-has-an-update you can now pass callback_url in the body of api / create function on python/js sdks. available on version 1.1.0 To upgrade python sdk pip install lumaai --upgrade To upgrade js sdk npm install lumaai@latest or pnpm install lumaai@latest or yarn add lumaai@latest
0
stevekrouse avatar
stevekrouse
svgAnimation
Express (deprecated)
SVG Animation Source: https://simpatico.io/svg.md#nativesvganimation
2
campsite avatar
campsite
email_channel
Email
Email a Campsite channel This val creates an email address that posts forwarded emails to a Campsite channel. It uses GPT-4 to extract a readable version of the forwarded email from the raw body. If you don't want to use GPT-4, omit the OPENAI_API_KEY and the raw body will be included in the post. Other providers are available via Vercel's AI SDK . For help with creating integrations, check out the Campsite API docs . You'll need to create an integration and get an API key.
1