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.
sentry_crons_example
@gaprl
Cron
Sentry Crons monitoring for scheduled functions in val.town Use this val to monitor your schedule jobs for any issues and report them directly to Sentry Crons . How to configure After forking, find the DSN for your Sentry project by going to Settings > Projects > Select your project >Settings > Client Keys (DSN). Add your DSN to as a SENTRY_DSN in your val.town environment variables . Change the monitorConfig.schedule.value Crontab expression to match your job run. Replace the run() function with your scheduled function. Alter any other monitor config properties to better fit your scheduled function. Learn more . Benefits This val will automatically create and set up a Cron monitor in Sentry, and report all of your runs as check-ins. If your job ever misses a run or fails, Sentry will notify you. Any errors that occur in your scheduled function will be reported directly into Sentry:
nasa
@ejfox
HTTP
* This program creates an HTTP server that fetches various data from NASA APIs
* and returns a JSON response with a collection of interesting information about today.
* It uses multiple NASA APIs to gather diverse space-related data, including real-time imagery
* and additional interesting data points.