Sorry I should have been more specific, was half asleep when typing this. Here is what the idea is:
http://prntscr.com/b155qg Touch-screen home control system. Used to control the lights and thermostat. Next, I want to add an Alexa module. What I would like to do is have a component on the screen with Alexa's current state. So for example, if someone tells Alexa to play a radio station on iHeartRadio, it will update with what station is playing. I was hoping there was an official way to do this (maybe I posted in the wrong section?), otherwise I would have to replicate
alexa.amazon.com and connect to the websocket, but that's a hacky way and I would rather not do that. I hope this clears things up, and thanks for your reply.
Can you elaborate on what you're trying to accomplish? If I could take a stab at it: I think you want to maintain a websocket connection to
alexa.amazon.com so that you can always have up to date Card information and display that information somewhere in your AVS application. Is that correct? If that's true, no, that is not a supported use-case. The authentication mechanisms used by AVS clients and the
alexa.amazon.com website are different, and the protocol isn't documented anywhere, and it has numerous other problems that wouldn't work very well. Are you trying to accomplish this for multiple users, or just for your own personal project? If just your own personal project your best bet is to just have a WebView or something similar for whatever platform you're using that has
alexa.amazon.com open, and your Amazon account logged in, and when you make requests to AVS it'll auto update with the new card information. Please let me know if I misinterpreted what you were asking and I'll try to respond more appropriately.