code: def getEvent(self, dev_id, starttime, endtime):
          
          path = 'device/%s/event?startTime=%s&endTime=%s' % \
              (dev_id, starttime, endtime)
          return self.rachio.get(path)
docs: Retrieve events for a device entity.