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.
stevekrouse
devNull
Script
Dev Null A JS function and API inspired by /dev/null that will throw away whatever you send it and return null . Function usage @stevekrouse.devNull("useless data") API Usage https://api.val.town/v1/run/stevekrouse.devNull?args=[%22useless%20data%22] Why? Honestly I don't know why you'd use this function. I just made it as a joke to link to it from @stevekrouse.dm . I guess you could also use it a joke to send data you want to call attention to the fact that you very much don't care about it, ie I really don't care about the price of bitcoin: @stevekrouse.devNull(await @stevekrouse.currency("usd", "btc"))
0
tmcw
kyExample
Script
ky The ky module is a nice abstraction around the fetch API , which is easily compatible with Deno. It's by the same creator as got , which more explicitly targets Node.js. Most of the time, the fetch method is all you need! But in a pinch, you can use ky to make things a little fancier.
0