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