I wrote a tool to get Insync’s status (Windows only). It will print any one of the following status code:
synced
syncing
paused
action
error
feed
share
offline or connecting
I’ve put it on GitHub (insync-status) under GPL3.
Hope people find it useful.