code: def getConsumedCredits(self):
          
  
          if 'status' in self._response.keys():
              if (self._response['status'] is not None) and ('credits' in self._response['status'].keys()):
                  if self._response['status']['credits'] is not None:
                      return self._response['status']['credits']
                  else:
                      return '0'
              else:
                  print("Not credits field\n")
          else:
              return None
docs: Returns the credit consumed by the request made
  
          :return:
              String with the number of credits consumed