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
serverlessMatrixEchoBot
@stevekrouse
Express
// https://stevekrouse-serverlessMatrixEchoBot.express.val.run/_matrix/push/v1/notify
michaellatman avatar
isMyWebsiteDown
@michaellatman
Cron
Forked from andreterron/isMyWebsiteDown
iamseeley avatar
thomasResumeConfig
@iamseeley
Script
Forked from iamseeley/resumeConfig
iamseeley avatar
currentTime
@iamseeley
Script
⌚ get a user's current local time
netux avatar
todepondLabLoginBanUser
@netux
HTTP (deprecated)
Forked from todepond/labLoginBanUser
stevekrouse avatar
sqlite_clone_migrate_table
@stevekrouse
Script
SQLite Migrate Table via cloning it into a new table example There are a lot of migrations that SQLite doesn't allow, such as adding a primary key on a table. The way to accomplish this is by creating a new table with the schema you desire and then copying the rows of the old table into it. This example shows how to: Get the schema for the existing table Create the new table Copy all rows from old to new Rename the old table to an archive (just in case) Rename the new table to the original table name This script shows me adding a primary key constraint to the Profile column of my DateMeDocs database. I would console and comment out various parts of it as I went. You can see everything I did in the version history. The main tricky part for me was removing the duplicate primary key entries before doing the migration step, which is a useful thing anyways, from a data cleaning perspective.
willthereader avatar
AlgoliaRecordSender2
@willthereader
HTTP (deprecated)
// Importing environment variables
parkerdavis avatar
blob_admin
@parkerdavis
HTTP (deprecated)
Forked from stevekrouse/blob_admin
vtdocs avatar
sha256
@vtdocs
Script
// Copied from https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest
stevekrouse avatar
authRequestEx
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
domingo1987 avatar
problemPython
@domingo1987
HTTP (deprecated)
// Privacy policy template in Markdown
stevekrouse avatar
water_plant_bot
@stevekrouse
Cron
Forked from stevekrouse/dailyStandupBot
dthyresson avatar
bedtimeStoryAdjectives
@dthyresson
Script
An interactive, runnable TypeScript val by dthyresson
hlobil avatar
notify
@hlobil
HTTP (deprecated)
Forked from samwho/notify
stevekrouse avatar
isValTooBig
@stevekrouse
Script
// Check if a val is too big to save
yieldray avatar
pushplus
@yieldray
Script
get token from: https://www.pushplus.plus/push1.html