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
wikiOG
@stevekrouse
HTTP (deprecated)
An interactive, runnable TypeScript val by stevekrouse
pdebie avatar
youtubeFeed
@pdebie
Script
Fetches all videos for a Youtube channel, by using its RSS feed.
kaleidawave avatar
ezno_checker_example
@kaleidawave
Script
Check a snippet using the Ezno type checker
philz avatar
blob_admin
@philz
HTTP (deprecated)
Forked from stevekrouse/blob_admin
mjweaver01 avatar
PriestGPT
@mjweaver01
HTTP (deprecated)
Forked from stevekrouse/weatherGPT
neverstew avatar
assertBearerToken
@neverstew
Script
assertBearerToken This val can be used to assert that a valid bearer token exists and has been signed by the secret provided. Example const handler = (req, res) => { const authorization = req.get('authorization'); // throws if invalid const token = @neverstew.assertBearerToken(@me.secrets.superSecret, authorization); res.json(token); }
kaleidawave avatar
ezno_parser
@kaleidawave
Script
Parse an expression using Ezno!
postpostscript avatar
pathAsScope
@postpostscript
Script
tests: @postpostscript/pathAsScopeTest
stevekrouse avatar
testEmail
@stevekrouse
Script
Receive an email to a val Every function val can be send an email: username.valname@valtown.email This val's email address is: stevekrouse.testEmail@valtown.email It will be called with the first argument as the email.
stevekrouse avatar
uploadTextToS3
@stevekrouse
Script
Forked from vtdocs/uploadTextToS3
stevekrouse avatar
handleFormExample2
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
developersdigest avatar
weatherGPT
@developersdigest
Cron
Forked from stevekrouse/weatherGPT
rlesser avatar
Resy_authenticate
@rlesser
Script
Authenticate with Resy This function can be used to generate an authentication token for Resy, which can be used to view favorites, set notifies, or even make reservations. Inputs An AuthParams object containing: email - The email address for your Resy account. Probably best to keep private. password - The password for your Resy account. Definitely keep this private, and place it in a secret . Returns An AuthResponse object containing: id - Your Resy account id. token - Your Resy account token, used to authenticate you in subsequent API calls. See other Resy vals I've made.
nilslice avatar
text2png
@nilslice
HTTP (deprecated)
An interactive, runnable TypeScript val by nilslice
clayway avatar
testApi
@clayway
HTTP (deprecated)
An interactive, runnable TypeScript val by clayway
nicopreme avatar
blob_admin
@nicopreme
HTTP (deprecated)
Forked from stevekrouse/blob_admin