Python API for Raspberry Server?

I'm using a Raspberry Zero W as server. Works great.

I would like to add a Display Hat showing the same information about connected devices as the client shows.

Is there an API that can be used for a phyton script talking to the display getting the connected device data info?

#2

All control is done via the client. So you can just run the virtualhere console client on the pi0w as well as the server.

https://www.virtualhere.com/linux_console

Then just call

vhclientarmhf -t "GET CLIENT STATE"

to return the state of the system as an XML document and parse that using python