def first(self):
        """Attempt to retrieve only the first resource matching this request.

        :return: Result instance, or `None` if there are no matching resources.
        """
        self.params['limit'] = 1
        result = self.all()
        return result.items[0] if result.total > 0 else None
Attempt to retrieve only the first resource matching this request.

        :return: Result instance, or `None` if there are no matching resources.