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.
stevekrouse avatar
stevekrouse
testWebhook
Script
An interactive, runnable TypeScript val by stevekrouse
0
jkbno avatar
jkbno
type_Capitalize_Uppercase
Script
// Basic recursion type
0
willthereader avatar
willthereader
v3FanFicScraper
HTTP
Forked from willthereader/FanFicScraper
0
petermillspaugh avatar
petermillspaugh
emailJasonAboutValTown
Cron
An interactive, runnable TypeScript val by petermillspaugh
0
janpaul123 avatar
janpaul123
valle_tmp_18509498710822885445406823160177
HTTP
This code sets up a simple comment box system. * It leverages Deno's blob storage for persistence, * and renders an HTML form to accept new comments, * while displaying all existing comments. * Tailwind CSS is used for styling.
0
dhvanil avatar
dhvanil
web_mBvDDUywvr
HTTP
An interactive, runnable TypeScript val by dhvanil
0
CHAN avatar
CHAN
Valentine1
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
pomdtr avatar
pomdtr
ask_ai
Script
Ask gpt to update a val on your behalf Usage import { askAI } from "https://esm.town/v/pomdtr/ask_ai"; await askAI(`Add jsdoc comments for each exported function of the val @pomdtr/askAi`);
1
maxm avatar
maxm
openAIStreaming
HTTP
OpenAI Streaming - Assistant and Threads An example of using OpenAI to stream back a chat with an assistant. This example sends two messages to the assistant and streams back the responses when they come in. Example response: user > What should I build today? ................ assistant > Here are a few fun Val ideas you could build on Val Town: 1. **Random Joke Generator:** Fetch a random joke from an API and display it. 2. **Daily Weather Update:** Pull weather data for your location using an API and create a daily summary. 3. **Mini Todo List:** Create a simple to-do list app with add, edit, and delete functionalities. 4. **Chuck Norris Facts:** Display a random Chuck Norris fact sourced from an API. 5. **Motivational Quote of the Day:** Fetch and display a random motivational quote each day. Which one sounds interesting to you? user > Cool idea, can you make it even cooler? ................... assistant > Sure, let's add some extra flair to make it even cooler! How about creating a **Motivational Quote of the Day** app with these features: 1. **Random Color Theme:** Each day, the background color/theme changes randomly. 2. **Quote Sharing:** Add an option to share the quote on social media. 3. **Daily Notifications:** Send a daily notification with the quote of the day. 4. **User Preferences:** Allow users to choose categories (e.g., success, happiness, perseverance) for the quotes they receive. Would you like some code snippets or guidance on implementing any of these features?
0
willthereader avatar
willthereader
typeConversionExercise
Script
// use Number(), parseInt(), parseFloat(), String(), toString(), and Boolean()
0
ramkarthik avatar
ramkarthik
domainAvailability
Script
An interactive, runnable TypeScript val by ramkarthik
0
stevekrouse avatar
stevekrouse
hnCommentToText
Script
An interactive, runnable TypeScript val by stevekrouse
0
arifio avatar
arifio
loanCalculator
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
Manju avatar
Manju
sereneTanWolf
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
CoachCompanion avatar
CoachCompanion
curiousTurquoiseDormouse
HTTP
Forked from CoachCompanion/CoachCompanionbackup
0
sarahxc avatar
sarahxc
convertRelativeDateToString
HTTP
An interactive, runnable TypeScript val by sarahxc
0