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.
janpaul123
valle_tmp_642242117750307901497006663363
HTTP
* This approach will create a simple HTML page with embedded CSS for the wild styling and a bit of JavaScript to handle the game logic of Wordle.
* We'll use vanilla JavaScript and HTML for simplicity, no external libraries or frameworks are necessary.
* The CSS will include bold color gradients, vibrant fonts, and other "crazy" styles.
0

saolsen
redis
Script
Upstash redis client for vals. Creates a global redis instance and exposes functions to use it. To use, create a redis database on Upstash and set the environment variables. UPSTASH_REDIS_REST_URL UPSTASH_REDIS_REST_TOKEN Val.town runs in ohio so the best region to pick for the redis instance is probably us-east-1 . Calls are also traced via https://www.val.town/v/saolsen/tracing so if you use that library you will see timed spans for any redis calls. For an example of how to use it see https://www.val.town/v/saolsen/try_redis
0