skpy/user.py
def user(self, id):
        """
        Retrieve public information about a user.

        Args:
            id (str): user identifier to lookup

        Returns:
            SkypeUser: resulting user object
        """
        json = self.skype.conn("POST", "{0}/batch/profiles".format(SkypeConnection.API_PROFILE),
                               auth=SkypeConnection.Auth.SkypeToken, json={"usernames": [id]}).json()
        if json and "status" not in json[0]:
            return self.merge(SkypeUser.fromRaw(self.skype, json[0]))
        else:
            return None
def user(self, id):
        json = self.skype.conn("POST", "{0}/batch/profiles".format(SkypeConnection.API_PROFILE),
                               auth=SkypeConnection.Auth.SkypeToken, json={"usernames": [id]}).json()
        if json and "status" not in json[0]:
            return self.merge(SkypeUser.fromRaw(self.skype, json[0]))
        else:
            return None
def user ( self , id ) : json = self . skype . conn ( "POST" , "{0}/batch/profiles" . format ( SkypeConnection . API_PROFILE ) , auth = SkypeConnection . Auth . SkypeToken , json = { "usernames" : [ id ] } ) . json ( ) if json and "status" not in json [ 0 ] : return self . merge ( SkypeUser . fromRaw ( self . skype , json [ 0 ] ) ) else : return None
Retrieve public information about a user.

        Args:
            id (str): user identifier to lookup

        Returns:
            SkypeUser: resulting user object
Retrieve public information about a user .