Generate query parameters for the first page

def first(self):
        """ Generate query parameters for the first page """

        if self.total and self.limit < self.total:
            return {'page[offset]': 0, 'page[limit]': self.limit}
        else:
            return None