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.
nbbaier avatar
nbbaier
codemirror_demo
HTTP
Forked from pomdtr/codemirror_demo
0
git avatar
git
faucets
HTTP
An interactive, runnable TypeScript val by git
0
stevekrouse avatar
stevekrouse
normalizeURL
Script
An interactive, runnable TypeScript val by stevekrouse
2
loading avatar
loading
xkcd
HTTP
An interactive, runnable TypeScript val by loading
0
phyllislim avatar
phyllislim
easyAQIExample
Script
Forked from stevekrouse/easyAQIExample
0
pomdtr avatar
pomdtr
evalPost2
Script
Forked from stevekrouse/evalPost2
0
dhvanil avatar
dhvanil
val_prZ5olhiXD
HTTP
An interactive, runnable TypeScript val by dhvanil
0
cwervo avatar
cwervo
exampleData
Script
Forked from stevekrouse/expressHTMLExample
0
janpaul123 avatar
janpaul123
valle_tmp_086165512507909492839503439700437
HTTP
// This val will respond with a styled HTML page with fun CSS
0
yawnxyz avatar
yawnxyz
newsly
Email
Newsly inspired by https://kill-the-newsletter.com/ copy your email into a newsletter like substack read the newsletter here / store them into valtown you can set it so you can chat with it or send you alerts or whatever idk
1
wilhelm avatar
wilhelm
bsky
HTTP
Showing my BlueSky posts using their public API
2
saolsen avatar
saolsen
p5
Script
P5 sketch Easily turn a p5.js sketch into a val. See https://www.val.town/v/saolsen/p5_sketch for an example. Usage Make a p5 sketch, you can import the p5 types to make it easier. import type * as p5 from "npm:@types/p5"; Export any "global" p5 functions. These are functions like setup and draw that p5 will call. Set the val type to http and default export the result of sketch , passing in import.meta.url . A full example looks like this. import type * as p5 from "npm:@types/p5"; export function setup() { createCanvas(400, 400); } export function draw() { if (mouseIsPressed) { fill(0); } else { fill(255); } ellipse(mouseX, mouseY, 80, 80); } import { sketch } from "https://esm.town/v/saolsen/p5"; export default sketch(import.meta.url); How it works The sketch function returns an http handler that sets up a basic page with p5.js added. It then imports your module from the browser and wires up all the exports so p5.js can see them. All the code in your val will run in the browser (except for the default sketch export) so you can't call any Deno functions, environment variables, or other server side apis.
4
yuuza avatar
yuuza
btrdb_kv_example
Script
An interactive, runnable TypeScript val by yuuza
0
yawnxyz avatar
yawnxyz
orangeVole
HTTP
An interactive, runnable TypeScript val by yawnxyz
0
dhvanil avatar
dhvanil
val_LrzLvmI3RJ
HTTP
An interactive, runnable TypeScript val by dhvanil
0
yacosta738 avatar
yacosta738
aqi
Cron
AQI Alerts Get email alerts when AQI is unhealthy near you. Set up Click Fork Change location (Line 4) to describe your location. It accepts fairly flexible English descriptions which it turns into locations via nominatim's geocoder API . Click Run Background This val uses nominatim's geocoder to get your lat, lon, and air quality data from OpenAQ. It uses EPA's NowCast AQI Index calculation and severity levels. Learn more: https://www.val.town/v/stevekrouse.easyAQI
0