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.
![zerilliworks avatar](https://images.clerk.dev/oauth_github/img_2RwwJdxCjnFdk7FDZcUkyIJ1Njc.jpeg)
zerilliworks
etherealExtractor
Script
Extract the decoded body of an email message encoded in quoted-printable format, sourcing from a public ethereal.email link. This supports a workflow for checking the HTML code generated by email tools; give a public ethereal.email message ID as the email_id param, and this val returns the body of the email as clipboard-ready text. (I just needed this really badly tonight!) Utterly unprepared for emails that are not quoted-printable content type. Will blow up.
0
nbbaier
emptyValUtils
Script
Empty Val Utils Handy utility functions to see if you have vals with no code lying around your account and to delete them (is you want to). Usage listEmptyVals import {listEmptyVals } from "https://esm.town/v/nbbaier/deleteEmptyVals";
console.log(await listEmptyVals(<user_id>)) deleteEmptyVals import {listEmptyVals } from "https://esm.town/v/nbbaier/deleteEmptyVals";
await deleteEmptyVals(<user_id>)
1