Get last backup result via python or bat file on Windows

Id like to run either a python script or bat file to get the last result of a full file or full image backup on Windows to tell if it was successful or not. Can someone please let me know the best way to do this?

If I use get_client_status I get an output of this for a particular client, but Im not sure what these values mean. Does “status 0” indicate the last backup was successful?

{‘client_version_string’: ‘2.1.16’
‘delete_pending’: ‘’
‘file_ok’: True
‘groupname’: ‘’
‘id’: 14
‘image_ok’: False
‘ip’: ‘172.16.65.101’
‘last_filebackup_issues’: 0
‘lastbackup’: 1503296273
‘lastbackup_image’: 0
‘lastseen’: 1503336840
‘name’: ‘name’
‘online’: True
‘os_simple’: ‘windows’
‘os_version_string’: ‘Microsoft Windows 7 Professional Service Pack 1 (build 7601)
64-bit’
‘processes’: []
‘status’: 0}