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.
calvinfo avatar
calvinfo
stableDiffusionGet
Script
An interactive, runnable TypeScript val by calvinfo
0
willthereader avatar
willthereader
chat
Script
Forked from stevekrouse/openai
0
mux avatar
mux
videoStorage
Script
Video Storage Intended to be imported into other Vals and used with Mux Webhooks (like our webhookHandler . Stores videos off into Sqlite. Webhook handlers At least these are how we use them in the webhookHandler | Function | Mux Event | Note | |------------------|-------------------|-------------------------------| | createVideo() | video.upload.created | Triggered when a direct upload is initially created | | updateVideoCreated() | video.upload.asset_created | Triggered when an asset is created | | updateVideoReady() | video.asset.ready | An asset is ready for playback | Others getAllVideos Lists all the videos in the database backfillVideo Takes a video object and puts it in the DB. Useful if you're iterating over to...you guessed it, backfill content.
0
stevekrouse avatar
stevekrouse
emailGPT3
Script
Email with GPT-3 Send an email to stevekrouse.emailGPT3@valtown.email, it will forward it to gpt3, and email you back the response.
4
pomdtr avatar
pomdtr
fetchValTownAPI
Script
Fetch data from the val town api Usage Create an helper val const valtownApi = (path: string, options?: RequestInit) => @pomdtr.fetchValTownAPI( @me.secrets.apiToken, path, options, ); Then use it in any of your val @me.valtownApi("/alias/pomdtr")
1
tmcw avatar
tmcw
nanoidExample
Script
nanoid nanoid is like a shorter, more fashionable alternative to UUIDs. Versus UUIDs: They're shorter, with a more customizable alphabet. They use more different characters by default. Unlike UUIDs, there aren't custom types for nanoids in databases Nanoids never contain information. UUIDs sometimes do: some UUIDs contain timestamps and MAC addresses.
0
stevekrouse avatar
stevekrouse
thisValURL
Script
Forked from stevekrouse/thisWebURL
1
kora avatar
kora
huggingface
Script
// const repo: RepoDesignation = { type: "model", name: "myname/some-model" };
0
markprobst avatar
markprobst
decomposeGlideWebhookParams
Script
An interactive, runnable TypeScript val by markprobst
0
vtdocs avatar
vtdocs
sha256
Script
// Copied from https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/digest
1
dhvanil avatar
dhvanil
gloriousIvoryPerch
HTTP
My Val
0
stevekrouse avatar
stevekrouse
whiteDuck
Script
An interactive, runnable TypeScript val by stevekrouse
0
Vinod66 avatar
Vinod66
indianHotelBookingWebsite
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
iamseeley avatar
iamseeley
faviconGenerator
HTTP
// This approach will use the fal.ai API to generate a custom favicon based on a user-provided prompt.
0
pj0 avatar
pj0
aqi_lefkada
Cron
Forked from stevekrouse/aqi
0
nbbaier avatar
nbbaier
uptime
Cron
Forked from stevekrouse/uptime
0