Yes, you’ll have to write an EBS, host it somewhere, and then perform web requests like @BarryCarlyon mentioned. For example, here’s my setup:
- Flask script (Python) that can receive web requests, hosted on Amazon
- HTML file for frontend that contains elements that can display the received data
- JS file that contains the logic for the web requests
How it works for me (during testing):
- I open the HTML page, which triggers a JS function asking for streamer information
- The JS function makes a GET request to my EBS, the Flash script
- The Flask script receives the GET request, sees that it ask for streamer information
- Executes a function that gets the streamer information from my database, and returns that as a response to the web request.
- The JS function that was called gets the streamer information as a response
- It updates the HTML elements to show that information