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.
seep avatar
subaru
@seep
Script
An API for mysubaru.com to enable remote start and stop. Requires env vars (val.town secrets) named: SUBARU_USERNAME, SUBARU_PASSWORD, SUBARU_DEVICEID, SUBARU_VEHICLEKEY, SUBARU_PIN . The username, password, and PIN should match your mysubaru.com credentials. The device ID and vehicle key can be found by inspecting the request body of a login network request at mysubaru.com.
tmcw avatar
VALLE
@tmcw
HTTP (deprecated)
Forked from janpaul123/VALLE
tal avatar
menuMonths
@tal
Script
An interactive, runnable TypeScript val by tal
zzz avatar
verifyJWT
@zzz
Script
// Verify a JWT from your val.town cookies exposed via `__session` from Developer Tools
vtdocs avatar
helloWorldPDF
@vtdocs
Express
You can render PDFs on Val Town using the jspdf library (and presumably other libraries too!)
stevekrouse avatar
dateme_react_hydrated
@stevekrouse
HTTP (deprecated)
Forked from stevekrouse/dateme_react_client
pomdtr avatar
extractValArgs
@pomdtr
Script
Extract Args from a val await @pomdtr.extractValArgs("pomdtr.extractValArgs") // [{ "name": "val", "type": "string" }] Why ? Just an example of doing some static analysis. Using this approach to generate a json schema of a val input would be nice.
yawnxyz avatar
threeJsTorus
@yawnxyz
HTTP
playing around with townie during a meeting >.>
stevekrouse avatar
foc_contact
@stevekrouse
Email
Forked from stevekrouse/dateme_contact
todepond avatar
labLogin
@todepond
HTTP (deprecated)
An interactive, runnable TypeScript val by todepond
iamseeley avatar
devtools
@iamseeley
Script
Forked from pomdtr/devtools
stevekrouse avatar
prism_feature_notifications
@stevekrouse
Cron
Forked from thesephist/prism_feature_notifications
netizen avatar
isMyWebsiteDown
@netizen
Cron
Forked from andreterron/isMyWebsiteDown
nishui avatar
biliStream
@nishui
Cron
what is this? ~这是一个用来检测主播是否直播,访问方法为:https://api.val.town/v1/run/nishui.biliStream?args=[xxx]~ ~其中 args=[id] 中的 id 是直播房间号码~ ~现在是多参数 ?args=[[xxx]] ~ 因为不了解 js、TypeScript 语言,决定还是不使用传送过来的参数了,用自定义的列表 id 来每隔 15m 自动获取是否直播,最后打包总结果返回 email 。
vez avatar
editVal
@vez
Script
An interactive, runnable TypeScript val by vez
vtdocs avatar
resyGetSlotBookingToken
@vtdocs
Script
(Part of: https://www.val.town/v/vtdocs.resyBot) Given a valid slot, this val generates the booking token that's required to place a reservation.