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.
maxm avatar
saveFormDataExample
@maxm
HTTP (deprecated)
An interactive, runnable TypeScript val by maxm
vladimyr avatar
googleFeelingLucky
@vladimyr
HTTP (deprecated)
Google Feeling Lucky auto-redirect !lucky DuckDuckGo !Bangs offer the following shortcuts for Google's Feeling Lucky (going straight to the first result) search option: !fl - http://www.google.com/search?btnI&q={{{s}}} !gifl - http://google.com/search?btnI=1&q={{{s}}} !gluck - http://www.google.com/search?q={{{s}}}&btnI !lucky - http://www.google.com/search?q={{{s}}}&btnI Unfortunately, they don't work anymore due to redirect notices that get shown. This service enables you to skip redirect notice by altering your search from the original query e.g.: https://www.google.com/search?q=site:developer.mozilla.org+Object.hasOwn&btnI To the modified one made against this val's HTTP endpoint: https://vladimyr-googlefeelinglucky.web.val.run/?q=site:developer.mozilla.org+Object.hasOwn Additionally, you can define custom search shortcut inside your browser to allow a local bang-like experience: Name: Google Feeling Lucky Shortcut: !lucky URL with %s in place of query: https://vladimyr-googlefeelinglucky.web.val.run/?q=%s
taytay avatar
forwarder
@taytay
Email
Forked from stevekrouse/forwarder
stevekrouse avatar
renderEmails
@stevekrouse
Email
Forward Render Error Emails to Val Town's Engineering Discord Channel Render sends emails when deploys fail but I want those notifications to come in our team Discord channel, and tag our team. Render doesn't have webhooks for this, so I set up a Gmail filter and forward to this email handler val, which in turn forwards the content to our engineering Discord channel.
stevekrouse avatar
myIP
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
saolsen avatar
gltf_torus
@saolsen
HTTP (deprecated)
Builds a torus as a gltf file and displays it with https://modelviewer.dev/ based on https://www.donmccurdy.com/2023/08/01/generating-gltf/ https://github.com/mrdoob/three.js/tree/dev/src/geometries
stevekrouse avatar
tiny_jest_example
@stevekrouse
Script
Forked from saolsen/tiny_jest_example
moe avatar
lostKeys
@moe
HTTP
Forked from moe/exampleP5sketch
stevekrouse avatar
awesome
@stevekrouse
HTTP (deprecated)
Forked from pomdtr/awesome
nvie avatar
downloadSiteContents
@nvie
Cron
Forked from andreterron/isMyWebsiteDown
tmcw avatar
qsExample
@tmcw
Script
qs QS is a pretty old module that you probably shouldn't use but it's still pretty heavily used. In the very very early days there wasn't a built-in way in JavaScript to parse querystrings. So QS was born. But then, Node.js added a querystring module built-in. Then, JavaScript introduced URLSearchParams , which you should use whenever you want to parse or generate query strings.
pomdtr avatar
getVal
@pomdtr
Script
Forked from neverstew/getVal
todimech avatar
isMyWebsiteDown
@todimech
Script
Forked from healeycodes/isMyWebsiteDown
vinspee avatar
setDatabaseFieldValue
@vinspee
Script
An interactive, runnable TypeScript val by vinspee
endingwithali avatar
messageali
@endingwithali
Script
An interactive, runnable TypeScript val by endingwithali
stevekrouse avatar
DenoSyntheticKV
@stevekrouse
Script
Replacement for Deno KV for Val Town on top of @std/sqlite.