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.
potherca avatar
potherca
cityLookup
Script
// Cities named Brooklyn
0
pomdtr avatar
pomdtr
webdavServer
Script
Webdav Manage your vals from a webdav client (ex: https://cyberduck.io/) ⚠️ some webdav operations are not supported, so support can vary between clients. Installation Click "Create Val" on the code block, and change it's type to http. import { basicAuth } from "https://esm.town/v/pomdtr/basicAuth"; import { verifyToken } from "https://esm.town/v/pomdtr/verifyToken"; import { serveVals } from "https://esm.town/v/pomdtr/webdavServer"; export default basicAuth(serveVals, { verifyUser: (user) => { return verifyToken(user); }, }); Use a val town token as the username, and keep the password blank to authenticate.
5
janpaul123 avatar
janpaul123
httpValErrorCatcher
HTTP
// This val dynamically imports and executes another HTTP val, then injects error handling scripts.
0
pomdtr avatar
pomdtr
freeformServer
HTTP
Freeform Brings a taste of Observable to Val Town. This val was adapted from @tmcw obsidian plugin . Instead of using the display function, this port use export default . https://pomdtr-freeformServer.web.val.run/v/<author>/<name> or https://freeform.pomdtr.me/v/<author>/<name> Examples Bar Chart ( View Source )
1
fal avatar
fal
svd
Script
Stable Video Diffusion link to val - https://www.val.town/v/fal/svd import * as fal from "@fal-ai/serverless-client"; const result = await fal.subscribe("fal-ai/fast-svd", { input: { image_url: "https://storage.googleapis.com/falserverless/model_tests/svd/rocket.png" }, logs: true, onQueueUpdate: (update) => { if (update.status === "IN_PROGRESS") { update.logs.map((log) => log.message).forEach(console.log); } }, }); https://www.fal.ai/models/svd/playground
0
pomdtr avatar
pomdtr
codemirror_demo
HTTP
CodeMirror Web Component Available Attributes language readonly code theme API You can access the code using the code property: document.getElementById("editor").code
4
iamseeley avatar
iamseeley
webPerformance
HTTP
An interactive, runnable TypeScript val by iamseeley
0
andreterron avatar
andreterron
chat
Script
Forked from stevekrouse/openai
0
stevekrouse avatar
stevekrouse
test500
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
postRequestExample
Script
// make POST fetch to https://stevekrouse-parsePostBodyExample.web.val.run
0
evol avatar
evol
labLoginGetUsers
HTTP
Forked from todepond/labLoginGetUsers
0
tokyotribe avatar
tokyotribe
getWeather
HTTP
Forked from stevekrouse/getWeather
0
mxdvl avatar
mxdvl
trips
Script
Turn an array of coordinates in the format [longitude, latitude] into an array of GeoJSON features as line strings. An optional distance threshold between subsequent points decides when distinct trips are created. Defaults to 120m. Example on Observable
0
stevekrouse avatar
stevekrouse
runOnPageLoad
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
poembuilder3
HTTP
Forked from stevekrouse/poembuilder
0
kajgod avatar
kajgod
njuskaloIndex
Express (deprecated)
Njuškalo Crawler Admin Admin frontend for Njuškalo Crawler use + and ' to add/remove search strings enter password next to submit button check that you have set up your crawler correctly
3