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.
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.
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!
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.
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"],
},
// ...
]