Python Fax - Get Submitted Fax Information with FaxStatus
Retrieving information about one or more submitted faxes with Python can be done using the FaxStatus method.
The FaxStatus method, demonstrated in the following Python fax snippet, displays information for a number of submitted faxes:
""" A simple script to check the status of a few fax transmissions using the InterFAX FaxStatus SOAP API call. """ from interfax import client print 'Testing FaxStatus...' c = client.InterFaxClient('USERNAME','PASSWORD') # Enter your Interfax username/password here result = c.faxStatus( 999999999, 10) print ' FaxStatus returned with code %d and %d items' % ( result[0], len(result[1]) ) # Print details for each item. for currItem in result[1]: print "\ntxId: %d\nsubmitTime: %s\npostponeTime:%s\ncompletionTime:%s\ndestinationFax%s\nremoteCSID:%s\npagesSent:%s\nstatus: %d\nduration: %d\nsubject: %s\npagesSubmitted: %d" % currItem

