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.
g avatar
g
imageToAnsi
Script
Forked from maxm/imageToAscii
1
tmcw avatar
tmcw
cheerioExample
Script
cheerio cheerio is a popular npm module that makes it easy to parse and manipulate HTML and XML. cheerio is modeled after a reduced version of jQuery . Note that it's pretty different than default browser DOM methods, so you can't call things like .appendChild or document.createElement when using cheerio: it's not based on a full-fledged DOM or browser implementation. But, in exchange it's a lot faster and simpler.
0
amoeba avatar
amoeba
aqi
Cron
Forked from stevekrouse/aqi
0
tmcw avatar
tmcw
whenfilmed
HTTP
A game where you guess when a movie was released. Man, those Disney movies are ancient !
2
stevekrouse avatar
stevekrouse
flutteringVioletBird
HTTP
Forked from stevekrouse/cron
0
rajkumarmath avatar
rajkumarmath
growingScarletWildfowl
HTTP
Forked from mewtru/valentine
0
jeffreyyoung avatar
jeffreyyoung
feistyBronzeWarbler
HTTP
Forked from jeffreyyoung/antonia_tim_burton
0
gio avatar
gio
razza
HTTP
An interactive, runnable TypeScript val by gio
0
jamiedubs avatar
jamiedubs
glifs
HTTP
returns the last 100 featured glifs on Glif but with a simplified response shape; I use this in other glifs with the WebFetcher block use like: https://jamiedubs-glifs.web.val.run/ to fetch info for a single glif, try @jamiedubs/glifJson #glif #glifs
1
stevekrouse avatar
stevekrouse
hiNicoFromGists
Script
Import from Github Gists You can import from Github Gist's raw URL: await import("https://gist.githubusercontent.com/...") This example pulls from this gist: example.js Which has this code: export const hi = function() { return "Hi Nico!" }
1
jamiedubs avatar
jamiedubs
wikipediaToday
HTTP
fetch the contents of the Wikipedia "On this day in history" page. defaults to JSON output, but specify ?format=text or ?format=html for other outputs. e.g. https://jamiedubs-wikipediatoday.web.val.run/?format=json https://jamiedubs-wikipediatoday.web.val.run/?format=text https://jamiedubs-wikipediatoday.web.val.run/?format=html #wikipedia
0
stevekrouse avatar
stevekrouse
fibs
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
notifyNewMessages
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
vueExample
HTTP
@jsxImportSource https://esm.sh/vue
0
evol avatar
evol
labLoginSchema
Script
An interactive, runnable TypeScript val by evol
0
Aizen avatar
Aizen
adeptSalmonOx
Script
An interactive, runnable TypeScript val by Aizen
0