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.
browserbase
TopHackerNewsDailyEmail
Cron
Browserbase Browserbase offers a reliable, high performance serverless developer platform to run, manage, and monitor headless browsers at scale. Leverage our infrastructure to power your web automation and AI agents. Get started with Browserbase for free here . If you have any questions, reach out to developer@browserbase.com.
0

wilt
getPodcastAudioUrls
Script
Currently, `parseXML` is a val.town builtin function, which comes from the fast-xml-parser npm
package.
By default, fast-xml-parser does not return tag attributes - you need to instantiate your own
parser object and then call its parse method like so:
`new XMLParser({ ignoreAttributes: false }).parse`
This constructor does not seem to be exposed in val.town currently.
This function returns a list of audio file urls, in the order they appear in the feed.
Usually it is safe to assume that the first url is associated with the first episode (by feed
order), but this is not guaranteed.
0