def get_folder_translated(self, folder_id, lang_code): url = "solutions/folders/%d/%s" % (folder_id, lang_code) return SolutionFolder(**self._api._get(url))
def list_from_category_translated(self, category_id, lang_code): url = "solutions/categories/%d/folders/%s" % (category_id, lang_code) folders = self._api._get(url) return [SolutionFolder(**r) for r in folders]
def get_folder(self, folder_id): url = "solutions/folders/%d" % folder_id return SolutionFolder(**self._api._get(url))
def list_from_category(self, category_id): url = "solutions/categories/%d/folders" % category_id folders = self._api._get(url) return [SolutionFolder(**r) for r in folders]