Пример #1
0
 def devices(self):
     """ Return all devices."""
     service_root = self.webservices['findme']['url']
     try:
         return FindMyiPhoneServiceManager(service_root, self.session,
                                           self.params)
     except PyiCloudAPIResponseError as error:
         raise PyiCloudNoDevicesException(error)
Пример #2
0
 def devices(self):
     """ Return all devices."""
     service_root = self.webservices['findme']['url']
     return FindMyiPhoneServiceManager(
         service_root,
         self.session,
         self.params
     )
Пример #3
0
 def devices(self):
     """Return all devices."""
     service_root = self._get_webservice_url('findme')
     return FindMyiPhoneServiceManager(
         service_root,
         self.session,
         self.params,
         self.with_family
     )