skpy/conn.py
def syncEndpoints(self):
        """
        Retrieve all current endpoints for the connected user.
        """
        self.endpoints["all"] = []
        for json in self("GET", "{0}/users/ME/presenceDocs/messagingService".format(self.msgsHost),
                         params={"view": "expanded"}, auth=self.Auth.RegToken).json().get("endpointPresenceDocs", []):
            id = json.get("link", "").split("/")[7]
            self.endpoints["all"].append(SkypeEndpoint(self, id))
def syncEndpoints(self):
        """
        Retrieve all current endpoints for the connected user.
        """
        self.endpoints["all"] = []
        for json in self("GET", "{0}/users/ME/presenceDocs/messagingService".format(self.msgsHost),
                         params={"view": "expanded"}, auth=self.Auth.RegToken).json().get("endpointPresenceDocs", []):
            id = json.get("link", "").split("/")[7]
            self.endpoints["all"].append(SkypeEndpoint(self, id))
def syncEndpoints ( self ) : self . endpoints [ "all" ] = [ ] for json in self ( "GET" , "{0}/users/ME/presenceDocs/messagingService" . format ( self . msgsHost ) , params = { "view" : "expanded" } , auth = self . Auth . RegToken ) . json ( ) . get ( "endpointPresenceDocs" , [ ] ) : id = json . get ( "link" , "" ) . split ( "/" ) [ 7 ] self . endpoints [ "all" ] . append ( SkypeEndpoint ( self , id ) )
Retrieve all current endpoints for the connected user.
Retrieve all current endpoints for the connected user .