I am looking for a way to stream data, using Emacs, which is accessible through an API that requires the submission of JavaScript code to a browser console:
https://developer.tdameritrade.com/content/streaming-data
There is an existing wraparound of this particular API, which uses Python:
https://tda-api.readthedocs.io/en/latest/streaming.html
I am currently using an Emacs start-process
to run the Python wraparound for the API to stream the data, and this works.
However, I would like to access the API more directly through Emacs without using a third-party Python repository. A third-party utility (e.g., w3m
or something similar), combined with an Emacs interface, would be an acceptable solution. How can Irun JavaScript in a browser console?