Beispiel #1
0
 def _get_folders(self):
     return build_dict(self, Folder, self.con.folders(), key='folder_id')
Beispiel #2
0
 def _get_lists(self):
     return build_dict(self, List, self.con.lists())
Beispiel #3
0
 def _get_templates(self):
     templates = self.con.campaign_templates()
     for t in templates:
         t.update(self.con.template_info(template_id=t['id']))
     return build_dict(self, Template, templates)
Beispiel #4
0
 def _get_folders(self):
     return build_dict(self, Folder, self.con.folders(), key='folder_id')
Beispiel #5
0
 def _get_categories(self):
     return build_dict(self, Campaign, self.con.campaigns()['data'])
Beispiel #6
0
 def _get_lists(self):
     return build_dict(self, List, self.con.lists())
Beispiel #7
0
 def _get_templates(self):
     templates = self.con.campaign_templates()
     for t in templates:
         t.update(self.con.template_info(template_id=t['id']))
     return build_dict(self, Template, templates)
Beispiel #8
0
 def get_campaign_by_id(self, id):
     return build_dict(self, Campaign, [self.con.campaign(id)])[id]
Beispiel #9
0
 def _get_categories(self):
     return build_dict(self, Campaign, self.con.campaigns()['data'])
Beispiel #10
0
 def _get_templates(self):
     templates = self.con.campaign_templates()
     return build_dict(self, Template, templates)
Beispiel #11
0
 def _get_campaigns(self):
     return build_dict(self, Campaign, self.con.campaigns())
Beispiel #12
0
 def _get_templates(self):
     return build_dict(self, Template, self.con.campaign_templates())
Beispiel #13
0
 def _get_templates(self):
     return build_dict(self, Template, self.con.campaign_templates())
Beispiel #14
0
 def _get_members(self):
     return build_dict(self, Member, self.master.con.list_members(self.id), 'email')