Esempio n. 1
0
 def get_folder_translated(self, folder_id, lang_code):
     url = "solutions/folders/%d/%s" % (folder_id, lang_code)
     return SolutionFolder(**self._api._get(url))
Esempio n. 2
0
 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]
Esempio n. 3
0
 def get_folder(self, folder_id):
     url = "solutions/folders/%d" % folder_id
     return SolutionFolder(**self._api._get(url))
Esempio n. 4
0
 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]