Python: Get The Status Of Multiple Letters with GetLetterStatusRange()

Simple script to fetch the status of multiple letters at once using the PostalMethods GetLetterStatus_Range SOAP API call.
You must set your SOAP client with a reference to 
the PostalMethods Web Service: 
$ wsdl2py --url 
Detailed instructions available in the Python samples zip file
from postalmethods import client
print 'Testing GetLetterStatusRange...'
c = client.PmClient('USERNAME','PASSWORD')
result = c.getLetterStatusRange(minLetterId,maxLetterId)
print str(result) 
Result = -3000 means that the data was successfully retrieved.
A negative value means an error occurred.
See the PostalMethods Status Codes: