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.
distinctGoldLark
tempguy
distinctGoldLark
// Create a FormData object
valleGetValsContextWindow
janpaul123
valleGetValsContextWindow
Remix of: janpaul123/getValsContextWindow
githubActivityReport
elliotbraem
githubActivityReport
Github Activity Report Generates an activity report of GitHub events for a specified user. The report groups events by day, repository, and event type, providing an organized view of the user's activities over a specified date range. Usage Parameters userName (required): The GitHub username for which to generate the activity report. startDate (optional): The start date of the activity report in YYYY-MM-DD format. If not provided, the report includes all events up to the endDate . endDate (optional): The end date of the activity report in YYYY-MM-DD format. If not provided, the report includes all events from the startDate onwards. Response Structure The API returns a JSON response body with the following structure: { "YYYY-MM-DD": { "repository_name": { "event_type": [ { "id": "event_id", "created_at": "event_timestamp", "payload": { /* event payload */ } }, // More events... ] }, // More repositories... }, // More dates... }
switchbot
stevekrouse
switchbot
Open the Val Town Ground Floor Switchbot This webpage will let Val Town employees or guests to use these bots. The original version of this val was for a party. That fork is preserved here: @stevekrouse/switchbot_party Next steps [ ] Add one of @pomdtr's login methods [ ] Allow all @val.town emails to login [ ] Have any other email login ping me for approval or make a private val with a list of approved emails Switchbot API This val authenticates to the switchbot API with SWITCHBOT_TOKEN and SWITCHBOT_KEY . Learn how to get your own Switchbot API keys here: Switchbot Docs .
bumpyGreenAntelope
hunty
bumpyGreenAntelope
Remix of: hunty/Fetch
IsNDRRMCDown
rkda
IsNDRRMCDown
Remix of: rkda/isMyWebsiteDown
bbrun
dglazkov
bbrun
A simple chat app harness for your board Provides a very simple chat app UI for a Breadboard board. For now, requires you to be running a board server. This harness actually acts as a proxy to the board server run API endpoint , and puts a nice (well, somewhat nice) frontend on top of it. The frontend is somewhat limited in what it can show, currently supporting only LLMContent and array of LLMContent outputs, and only LLMContent array input. The script will look for the BB_LIVE_KEY in your Val Town environment, which must contain your board server API key. To use, create an HTTP val, then import the proxy function from this script and call it like this: import { proxy } from "https://esm.town/v/dglazkov/bbrun"; export default proxy( "url-to-the-board.bgl.json", );
umbrellaReminder
nancypants
umbrellaReminder
Remix of: stevekrouse/umbrellaReminder
bedtimeStoryActivities
dthyresson
bedtimeStoryActivities
An interactive, runnable TypeScript val by dthyresson
bedtimeStoryColors
dthyresson
bedtimeStoryColors
An interactive, runnable TypeScript val by dthyresson
bedtimeStoryAnimals
dthyresson
bedtimeStoryAnimals
An interactive, runnable TypeScript val by dthyresson
short
vawogbemi
short
Short URLs A URL shortener in Val Town! This turns URLs into strings like https://vawogbemi-short.web.val.run/JK An implementation of https://www.val.town/v/tmcw/short It uses SQL instead of express persistent storage. Table Schema Short(id INT, url TEXT)
viewOnValTownComponent
dthyresson
viewOnValTownComponent
View on Val Town Give url and, link to your val!
bedtimeStoryAdjectives
dthyresson
bedtimeStoryAdjectives
An interactive, runnable TypeScript val by dthyresson
anime
tempguy
anime
@jsxImportSource npm:hono@3/jsx
redMonkey
tempguy
redMonkey
An interactive, runnable TypeScript val by tempguy
โ€ฆ
287
โ€ฆ
Next