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.
stevekrouse avatar
stevekrouse
exampleCronDay
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
createGithubIssue
Script
This helper function creates a Github Issue in the specified repo, assigned to whoever you want. It also adds it into the current milestone. We use this in @stevekrouse/renderEmails to auto-create issues when we have server restarts, in the current milestone, assigned to @maxm, our infra guy. import { createIssue } from 'https://esm.town/v/stevekrouse/createGithubIssue'; console.log( await createIssue({ title: "Test Issue", body: "This is a test issue.", repoOwner: "val-town", repoName: "val.town", assignee: "maxmcd", githubToken: Deno.env.get("GITHUB_CONTRIBUTIONS"), }), );
1
stevekrouse avatar
stevekrouse
jsJamMessages
Script
// set by stevekrouse.newJSJamMessage at 2023-07-11T18:35:51.228Z
0
yusukebe avatar
yusukebe
cyanPanther
HTTP
An interactive, runnable TypeScript val by yusukebe
0
dhvanil avatar
dhvanil
divineEmeraldGrouse
Script
My Val
0
arshs13 avatar
arshs13
valentine
HTTP
Forked from mewtru/valentine
0
abhinavgonthina avatar
abhinavgonthina
fabulousTurquoiseBadger
Cron
// Fetches a random joke.
0
willthereader avatar
willthereader
prepareChapterForAlgolia
Script
An interactive, runnable TypeScript val by willthereader
0
lbb00 avatar
lbb00
checkBPPRequirement
Script
https://csswizardry.com/2023/09/the-ultimate-lqip-lcp-technique Usage https://api.val.town/v1/run/lbb00.checkBPPRequirement?args=[imageUrl,minDisplayWidth,minDisplayHeight] Example
0
slash495 avatar
slash495
saru
HTTP
Forked from mewtru/valentine
0
canpolat avatar
canpolat
getLemmyJwt
Script
An interactive, runnable TypeScript val by canpolat
0
yieldray avatar
yieldray
kv
Script
An interactive, runnable TypeScript val by yieldray
2
stevekrouse avatar
stevekrouse
rime
Script
// We provide some amount of free usage to this API
0
dhvanil avatar
dhvanil
val_qTMN8anzhZ
HTTP
An interactive, runnable TypeScript val by dhvanil
0
stevekrouse avatar
stevekrouse
dns_record_debugger
HTTP
Proxied Web Browser – DNS Debugger Proxied web browser for debugging new DNS records It's difficult to verify new DNS records. If you check too early, the old records may get cached on your computer, browser, or local network. This tool uses a proxied fetch so you can always view your web page uncached. Uses @std/fetch on the backend to ensure the DNS records of the request are from new places every request. Version 4 of this val also showed DNS records, pulled on the server, but I removed that featured, because those records are likely subject to caching. It'd be an improvement to this tool if we could add an uncached DNS check in here. In a couple min I wasn't able to find a free DNS checker API. Pull requests welcome!
3
yieldray avatar
yieldray
fav
HTTP
An https://fav.farm alternative built on val.town Fork this val to host your own!
1