Fetch comments

        :param endpoint: The source/endpoint you want to fetch comments from (deviation/profile/status/siblings)
        :param deviationid: The deviationid you want to fetch
        :param commentid: The commentid you want to fetch
        :param username: The username you want to get a list of status updates from
        :param statusid: The statusid you want to fetch
        :param ext_item: the pagination limit
        :param offset: the pagination offset
        :param limit: the pagination limit
        :param maxdepth: Depth to query replies until

def get_comments(self, endpoint="deviation", deviationid="", commentid="", username="", statusid="", ext_item=False, offset=0, limit=10, maxdepth=0):

        """Fetch comments

        :param endpoint: The source/endpoint you want to fetch comments from (deviation/profile/status/siblings)
        :param deviationid: The deviationid you want to fetch
        :param commentid: The commentid you want to fetch
        :param username: The username you want to get a list of status updates from
        :param statusid: The statusid you want to fetch
        :param ext_item: the pagination limit
        :param offset: the pagination offset
        :param limit: the pagination limit
        :param maxdepth: Depth to query replies until
        """

        if endpoint == "deviation":
            if deviationid:
                response = self._req('/comments/{}/{}'.format(endpoint, deviationid), {
                    "commentid" : commentid,
                    'offset' : offset,
                    'limit' : limit,
                    'maxdepth' : maxdepth
                })
            else:
                raise DeviantartError("No deviationid defined.")

        elif endpoint == "profile":
            if username:
                response = self._req('/comments/{}/{}'.format(endpoint, username), {
                    "commentid" : commentid,
                    'offset' : offset,
                    'limit' : limit,
                    'maxdepth' : maxdepth
                })
            else:
                raise DeviantartError("No username defined.")

        elif endpoint == "status":
            if statusid:
                response = self._req('/comments/{}/{}'.format(endpoint, statusid), {
                    "commentid" : commentid,
                    'offset' : offset,
                    'limit' : limit,
                    'maxdepth' : maxdepth
                })
            else:
                raise DeviantartError("No statusid defined.")

        elif endpoint == "siblings":
            if commentid:
                response = self._req('/comments/{}/{}'.format(commentid, endpoint), {
                    "ext_item" : ext_item,
                    'offset' : offset,
                    'limit' : limit
                })
            else:
                raise DeviantartError("No commentid defined.")
        else:
            raise DeviantartError("Unknown endpoint.")

        comments = []

        for item in response['thread']:
            c = Comment()
            c.from_dict(item)
            comments.append(c)

        return {
            "thread" : comments,
            "has_less" : response['has_less'],
            "has_more" : response['has_more'],
            "prev_offset" : response['prev_offset'],
            "next_offset" : response['next_offset']
        }