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.
mangadex avatar
mangadex
login
Script
* Creates a session. * The session token expires after 15 minutes, and the refresh token after 1 month.
1
Murtaza avatar
Murtaza
proudMagentaTurtle
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
novafurry avatar
novafurry
progress
HTTP
An interactive, runnable TypeScript val by novafurry
0
stevekrouse avatar
stevekrouse
testWebsite
HTTP
Forked from willthereader/testWebsite
0
mo3ly avatar
mo3ly
drumMachine
HTTP
Forked from sedson/drumMachine
1
LukieKang avatar
LukieKang
dailyDadJoke
Cron
Forked from stevekrouse/dailyDadJoke
0
nvpkp avatar
nvpkp
zanyCyanHookworm
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
faruqare83 avatar
faruqare83
stylishEmeraldWildebeest
HTTP
Forked from mewtru/valentine
0
ejfox avatar
ejfox
eclipsetoday
HTTP
NAME eclipsetoday - Determine if a solar or lunar eclipse is happening right now DESCRIPTION The script checks if there's a solar or lunar eclipse currently occurring anywhere on Earth. The script utilizes a hardcoded list of known eclipses for the years 2024-2026. It will return a JSON response indicating whether an eclipse is happening at the time of the request, along with details about the eclipse if applicable. USAGE The script is designed to be run in a server environment, responding to incoming HTTP requests. Upon receiving a request, it will return JSON data in the following format: ``` { "isEclipseHappening": true/false, "eclipseDetails": { "date": "2024-04-08T00:00:00Z", "kind": "solar", "type": "total", "place": "partial: North and Central America; total: northern Mexico, central U.S., and eastern Canada" }, "checkedAt": "2024-04-08T00:00:00Z" } ``` If an error occurs during processing, the script will return a JSON error message with details about the failure.
0
prashant2344 avatar
prashant2344
valentinePrashant
HTTP
Forked from mewtru/valentine
0
daisuke avatar
daisuke
multilingualchatroom
HTTP
Forked from trob/multilingualchatroom
0
weaverwhale avatar
weaverwhale
chat
Script
Forked from stevekrouse/openai
0
iamseeley avatar
iamseeley
savePDF
Script
🗃️ save your html as a pdf using html2pdf // Adjust the options html2pdf(element, { margin: 0.2, filename: 'resume.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2 }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' } }) usage <!-- Add the button to your html --> <body> <button id="saveAsPDFButton">Save as PDF</button> <!-- Import the module --> <script type="module" src="https://esm.town/v/iamseeley/savePDF"></script> </body>
0
nuklearfiziks avatar
nuklearfiziks
bigLeagueMe
Script
Big League yourself! WARNING, this will unfollow every user you follow!
0
stevekrouse avatar
stevekrouse
professionalAquamarineSwordfish
Script
Forked from alexiglesias_me/professionalAquamarineSwordfish
0
dupontgu avatar
dupontgu
heavenlyOrangeMarmoset
Script
An interactive, runnable TypeScript val by dupontgu
0