code: def get_categories(self, catpath="/"):
  
          
  
          response = self._req('/browse/categorytree', {
              "catpath":catpath
          })
  
          categories = response['categories']
  
          return categories
docs: Fetch the categorytree
  
          :param catpath: The category to list children of