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
company
Email
Val Town Company *@val.town Email Routing This val forwards emails to addresses that don't exist to all of us at Val Town. For example, this forwards feedback@val.town to all of us. We achieve this by forwarding emails to this email handler, and this email handler forwards them along. To accomplish this without Val Town would require setting up a Google Group. I prefer doing it in code. Over time we will have more complex routing here.
1
karanganesan
dm_callback_example
HTTP
Docs: https://docs.lumalabs.ai/docs/api#how-to-get-a-callback-when-generation-has-an-update you can now pass callback_url in the body of api / create function on python/js sdks.
available on version 1.1.0 To upgrade python sdk pip install lumaai --upgrade To upgrade js sdk npm install lumaai@latest or pnpm install lumaai@latest or yarn add lumaai@latest
0
campsite
email_channel
Email
Email a Campsite channel This val creates an email address that posts forwarded emails to a Campsite channel. It uses GPT-4 to extract a readable version of the forwarded email from the raw body. If you don't want to use GPT-4, omit the OPENAI_API_KEY and the raw body will be included in the post. Other providers are available via Vercel's AI SDK . For help with creating integrations, check out the Campsite API docs . You'll need to create an integration and get an API key.
1