<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def minutes(self, start_date=None, end_date=None, grouping=None):
 """ Gets a detailed Report of encoded minutes and billable minutes for a date range. **Warning**: ``start_date`` and ``end_date`` must be ``datetime.date`` objects. Example:: import datetime start = datetime.date(2012, 12, 31) end = datetime.today() data = z.report.minutes(start, end) https://app.zencoder.com/docs/api/reports/minutes """


        data = self.__format(start_date, end_date)

        url = self.base_url + '/minutes'
        return self.get(url, data=data)