Python: Get The Status Of A Letter With GetLetterStatus()

Simple script to get a letter's current status using the PostalMethods 
GetLetterStatus 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 GetLetterStatus...'
c = client.PmClient('USERNAME','PASSWORD')
print '   Status of letter: ' + str(c.getLetterStatus(letterId)) 
Result = -3000 means that the data was successfully retrieved.
A negative value means an error occurred.
See the PostalMethods Status Codes: