예제 #1
0
 def contact_create(self, phonenumber, params=None):
     if params is None: params = {}
     params.update({'msisdn': phonenumber})
     return Contact().load(self.request('contacts', 'POST', params))
예제 #2
0
 def contact(self, id):
     """Retrieve the information of a specific contact."""
     return Contact().load(self.request('contacts/' + str(id)))