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.
fehmi17 avatar
fehmi17
weatherAppTR
HTTP
@jsxImportSource https://esm.sh/react
0
ari avatar
ari
umbrellaReminder
Cron
Forked from stevekrouse/umbrellaReminder
0
johanguse avatar
johanguse
myApi
Script
An interactive, runnable TypeScript val by johanguse
0
hanbzu avatar
hanbzu
uniqBy
Script
An interactive, runnable TypeScript val by hanbzu
0
stevekrouse avatar
stevekrouse
expressContentTypeTest
Script
An interactive, runnable TypeScript val by stevekrouse
0
nilslice avatar
nilslice
extism_text2png
HTTP
An interactive, runnable TypeScript val by nilslice
1
rozek avatar
rozek
UserSpecificResource
HTTP
Sometimes you want a val to be public (e.g., to give others the chance to inspect and fork it) but not to be callable by everybody (e.g., because you are accessing some resources which are rate limited or expensive) The simplest approach to meet both requirements is to require an authorization of type "Bearer" with a (random) token that is stored in a Val.Town environment variable. Such variables are specific to the owner of a val and - since the val is running on the server - cannot be inspected be the caller. As a consequence, only clients knowing the correct token can run the val, but everybody can inspect and fork it in order to use the val with his/her own environment setting. To experiment with this val, please fork it and define an environment variable called "UserSpecificResource" with whatever you want to use as an access token (e.g., a UUID or a random number) Some tests can be found in val UserSpecificResource_Test
0
janpaul123 avatar
janpaul123
valle_tmp_94143382773309364168680595093273
HTTP
// This val responds with an HTML form styled with CSS to input the user's name and greets them upon form submission
0
janpaul123 avatar
janpaul123
valle_tmp_53901278199117542092711693057927
HTTP
// This val fetches weather data from an open API
0
kora avatar
kora
aiBasicExample
Script
Forked from yawnxyz/aiBasicExample
0
dtensor avatar
dtensor
sendSMS
Script
Forked from iamseeley/sendSMS
0
reckter avatar
reckter
redirect
HTTP
An interactive, runnable TypeScript val by reckter
0
todepond avatar
todepond
labUploadDelete
HTTP
An interactive, runnable TypeScript val by todepond
0
hanbzu avatar
hanbzu
extractReiseauskunftDbStationCodeFromUrl
Script
An interactive, runnable TypeScript val by hanbzu
0
janpaul123 avatar
janpaul123
valle_tmp_39414376122428222818488514998443
HTTP
// This val serves an HTML page with a form to enter your name.
0
apitman avatar
apitman
decentauthhandler
HTTP
An interactive, runnable TypeScript val by apitman
0