Exemple #1
0
 def list(self, page=0):
     return [
         models.Domain(domain)
         for domain in self._post('domain/list', {
             'page': page,
         })
     ]
Exemple #2
0
 def get(self, domain):
     return models.Domain(self._post('domain/get', {
         'domain': domain,
     }))