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.
alp avatar
alp
proxyFetch8
Script
An interactive, runnable TypeScript val by alp
0
neverstew avatar
neverstew
getSpotifyAccessToken
Script
getSpotifyAccess Token Request an access token for use with the Spotify Web API. Requires environment variables from your Spotify Developers account. SPOTIFY_CLIENT_ID SPOTIFY_CLIENT_SECRET Uses Blob storage to cache the spotify_accessToken based on when the expires_in value in the Spotify Access Token response. Example import { getSpotifyAccessToken } from "https://esm.town/v/dthyresson/getSpotifyAccessToken"; const accessToken = await getSpotifyAccessToken(); console.debug(accessToken)
0
nbbaier avatar
nbbaier
cronLogger
Script
Log your cron evaluations to sqlite import { cronEvalLogger as logger } from "https://esm.town/v/nbbaier/cronLogger"; const run = async (interval: Interval) => { console.log("your code goes here"); }; export default logger(run);
0
tr3ntg avatar
tr3ntg
makeCallOnEmail
Email
Make Phone Call with Twilio Upon Email Receipt Backstory I bought a Bluetooth temperature monitor to monitor the temp in one of my rooms. I made sure to purchase one that sends alerts for temperatures that are out of a given range. Unfortunately, those notifications can’t be set to override Focus modes or when your phone is on Silent. But the app does allow you to add any email address for an alert. So, a Val Town Email handler + Twilio, and I’ve got myself an unmissable alert for if that room ever gets too hot or cold. 🔥🧊 How to Use Fork this Val, fill in your environment tokens (including phone number) and watch a call come through when you email the Val! Caveats This will call you on EVERY email. This works for my use case as the email is only registered with my temperature monitoring device. (You'll need to keep your emailing Val private, or add on some sort of verification to prevent errant emails and calls.)
0
andreterron avatar
andreterron
form_demo
HTTP
Live demo: https://andreterron-form_demo.web.val.run Form results: https://www.val.town/v/andreterron.formResponses
0
SowrovCIV avatar
SowrovCIV
tikTokVideoDownloader
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
eligosmlytics avatar
eligosmlytics
pageSpeedAPI
HTTP
@jsxImportSource https://esm.sh/react
2
stevekrouse avatar
stevekrouse
dateme_router_hydrated
Script
Forked from stevekrouse/dateme_router
0
jmt_es avatar
jmt_es
routineTrackerApp
HTTP
Forked from ashryanio/routineTrackerApp
0
stevekrouse avatar
stevekrouse
apiExample
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
autoGPT_Test2
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
date_me_form
HTTP
@jsxImportSource npm:hono@3/jsx
0
agmm avatar
agmm
sslCertificates
Script
What is this for? To get a list of all the SSL certificates that have been issued for a particular domain. Usage import { getCertificates } from "https://esm.town/v/agmm/sslCertificates"; const results = await getCertificates("agmm.xyz"); console.log(results)
1
tmcw avatar
tmcw
ramdaExample
Script
ramda ramda is a module like lodash or underscore but with a much heavier emphasis on functional programming. It lets you do the same kind of things but in a much 🌶️ spicier, 💪 more macho, 🤔 sometimes confusing style. I was really into this module in my late 20s.
0
iamseeley avatar
iamseeley
convertToResumeJSON
Script
Forked from iamseeley/resumeRecs
0
ravvi_kumar avatar
ravvi_kumar
tomatoBear
Script
An interactive, runnable TypeScript val by ravvi_kumar
0