SailthruResponse It can now handle response and error. Available methods:     is_ok(): check if the response if ok. Basically it checks for if              respose content has valid JSON and that json doesn't              contain *error* key
SailthruResponse
It can now handle response and error.
Available methods:
    is_ok(): check if the response if ok. Basically it checks for if
             respose content has valid JSON and that json doesn't
             contain *error* key

    get_body(): Returns JSON dictionary and if as_dictionary is True
                then, returns raw content

    get_response(): Returns response object
                    http://docs.python-requests.org/en/latest/api/#requests.Response

    get_status_code(): Returns HTTP status code

    get_error(): Returns SailthruReponseError object

SailthruResponseError
Handles error returned from Sailthru API
    get_message(): Returns error message

    get_error_code(): returns error code, if reponse is invalid JSON,
    returns 0

Khan/sailthru-python-client,sailthru/sailthru-python-client