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.
maxm avatar
reportBodySize
@maxm
HTTP (deprecated)
An interactive, runnable TypeScript val by maxm
nerdymomocat avatar
add_to_notion_from_todoist
@nerdymomocat
Cron
Use todoist for quick notes to add to notion. Uses project to decide which project to fetch to add stuff to notion. Can add to page or database based on config below. Demarkation using sections in the todoist project. Extracts date for page blocks that are added as callouts.
stevekrouse avatar
jsPython
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
tmcw avatar
recipes
@tmcw
Script
An interactive, runnable TypeScript val by tmcw
heaversm avatar
VALLE
@heaversm
HTTP (deprecated)
Forked from janpaul123/VALLE
nicoalbanese avatar
tomatoMinnow
@nicoalbanese
HTTP (deprecated)
Vercel AI SDK with Val Town! Use the Vercel AI SDK in your Vals. Note : you must add your OpenAI key to your Val Town Env variables under OPENAI_API_KEY . If you would like to specify a different name for your API Key, you can create a custom OpenAI provider with the createOpenAI function. Prefer another AI provider? Use any supported provider by changing just two lines of code!
freecrayon avatar
zodStringToJSON
@freecrayon
Script
Useful when working with ZodFormData and you need to parse a text field that contains JSON. See https://www.val.town/v/freecrayon/zodStringToJSON_example for an example of how to use it.
tmcw avatar
evaluationFromValExample
@tmcw
Script
Val Town API: unauthenticated eval This val runs a val by using the Val Town API and returns the result of its evaluation.
karfau avatar
dlock
@karfau
Script
Forked from stevekrouse/dlock
g avatar
dataUriGenApp
@g
HTTP
* This application creates a client-side data URI generator with the following features: * - File upload through input and drag-and-drop * - Automatic MIME type detection * - Preview of the uploaded file (image, video, audio, or text) * - Copy button to easily copy the generated data URI * * We'll use the FileReader API for file handling and data URI generation. * The application will be built using HTML, CSS, and JavaScript, served by a Hono app.
rareadmin avatar
isMyWebsiteDown
@rareadmin
Cron
Forked from healeycodes/isMyWebsiteDown
mattx avatar
scrape_gradio_data
@mattx
Script
scrape_gradio_data Scrapes the gradio_config object from Gradio sites/spaces. Most useful when pointed at a gradio site with lots of static data like the Open LLM Leaderboard
liam avatar
template
@liam
HTTP (deprecated)
Forked from substrate/template
cjlm avatar
renderFormAndSaveData
@cjlm
Script
Forked from klepra/renderFormAndSaveData
pomdtr avatar
sqliteTable
@pomdtr
Script
Sqlite Table Usage: Fork this Val Replace the existing migrations by your own table The table name will match the val name. To update the table, just add new items to the migrations array, and re-run the val
pomdtr avatar
add_jsdoc_action
@pomdtr
Script
Add JSDoc comment to any val This val is supposed to be used with the val.town chrome extension . Add this field to your config to use it: export default [ { title: "Add JSDoc comments", val: "pomdtr/add_jsdoc_action", patterns: ["https://www.val.town/v/:author/:name"], }, // ... ]