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.
willthereader avatar
willthereader
tiny_jest_example
Script
Forked from saolsen/tiny_jest_example
0
andreterron avatar
andreterron
codeOnVT_modifyResponse
Script
"Code on Val Town" Response modifier Appends the "Code on Val Town" ribbon to an HTTP Response. Usage new modifyResponse(res, { handle: "andre", name: "foo" }) - define which val to link to; new modifyResponse(res) - infer the val from the call stack. Example: @andreterron/openable_res import { modifyResponse } from "https://esm.town/v/andreterron/codeOnVT_modifyResponse"; import { html } from "https://esm.town/v/stevekrouse/html?v=5"; export default async (req: Request): Promise<Response> => { return modifyResponse(html(` <h2>Hello world!</h2> <style>* { font-family: sans-serif }</style> `)); };
0
paulkinlan avatar
paulkinlan
timeZoneCompareTool
HTTP
// This timezone comparison tool will use the Luxon library for date and time manipulation.
0
dhvanil avatar
dhvanil
val_w1RxWevh7s
HTTP
An interactive, runnable TypeScript val by dhvanil
0
pomdtr avatar
pomdtr
sendToTelegram
Script
An interactive, runnable TypeScript val by pomdtr
1
Kpool avatar
Kpool
billiardCafeApp
Cron
@jsxImportSource https://esm.sh/react@18.2.0
0
richardkaplan avatar
richardkaplan
webscrapeWikipediaIntro
Script
Forked from vtdocs/webscrapeWikipediaIntro
1
mgruel avatar
mgruel
references
Script
Forked from andreterron/references
0
pomdtr avatar
pomdtr
view_val_detail
Script
An interactive, runnable TypeScript val by pomdtr
0
brianleroux avatar
brianleroux
webmention_disco
Script
function to discover a webmention endpoint
0
danilodiez avatar
danilodiez
aqi
Cron
Forked from stevekrouse/aqi
0
omerco avatar
omerco
hnFollowApp
Script
Forked from rodrigotello/hnFollowApp
0
all avatar
all
goodVibes
HTTP
@jsxImportSource https://esm.sh/react
0
benjiwheeler avatar
benjiwheeler
globalIncrement
HTTP
// This val uses Val Town's Blob storage to maintain a shared global integer value.
0
laionazeredo avatar
laionazeredo
nasaAPOD
Script
Forked from iBrokeit/nasaAPOD
0
romannurik avatar
romannurik
todoTools
HTTP
An interactive, runnable TypeScript val by romannurik
0