code: def getMonitors(self, response_times=0, logs=0, uptime_ratio=''):
          
          url = self.baseUrl
          url += "getMonitors?apiKey=%s" % (self.apiKey)
          url += "&noJsonCallback=1&format=json"
          # responseTimes - optional (defines if the response time data of each
          # monitor will be returned. Should be set to 1 for getting them. Default
          # is 0)
          if response_times:
              url += "&responseTimes=1"
          # logs - optional (defines if the logs of each monitor will be returned.
          # Should be set to 1 for getting the logs. Default is 0)
          if logs:
              url += '&logs=1'
          # customUptimeRatio - optional (defines the number of days to calculate
          # the uptime ratio(s) for. Ex: customUptimeRatio=7-30-45 to get the
          # uptime ratios for those periods)
          if uptime_ratio:
              url += '&customUptimeRatio=%s' % uptime_ratio
  
          return self.requestApi(url)
docs: Returns status and response payload for all known monitors.