def get_categories(self, catpath="/"):

        """Fetch the categorytree

        :param catpath: The category to list children of
        """

        response = self._req('/browse/categorytree', {
            "catpath":catpath
        })

        categories = response['categories']

        return categories