skpy/user.py
def search(self, query):
        """
        Search the Skype Directory for a user.

        Args:
            query (str): name to search for

        Returns:
            SkypeUser list: collection of possible results
        """
        results = self.skype.conn("GET", SkypeConnection.API_DIRECTORY,
                                  auth=SkypeConnection.Auth.SkypeToken,
                                  params={"searchstring": query, "requestId": "0"}).json().get("results", [])
        return [SkypeUser.fromRaw(self.skype, json.get("nodeProfileData", {})) for json in results]
def search(self, query):
        results = self.skype.conn("GET", SkypeConnection.API_DIRECTORY,
                                  auth=SkypeConnection.Auth.SkypeToken,
                                  params={"searchstring": query, "requestId": "0"}).json().get("results", [])
        return [SkypeUser.fromRaw(self.skype, json.get("nodeProfileData", {})) for json in results]
def search ( self , query ) : results = self . skype . conn ( "GET" , SkypeConnection . API_DIRECTORY , auth = SkypeConnection . Auth . SkypeToken , params = { "searchstring" : query , "requestId" : "0" } ) . json ( ) . get ( "results" , [ ] ) return [ SkypeUser . fromRaw ( self . skype , json . get ( "nodeProfileData" , { } ) ) for json in results ]
Search the Skype Directory for a user.

        Args:
            query (str): name to search for

        Returns:
            SkypeUser list: collection of possible results
Search the Skype Directory for a user .