def get_users(self, usernames):

        """Fetch user info for given usernames

        :param username: The usernames you want metadata for (max. 50)
        """

        if self.standard_grant_type is not "authorization_code":
            raise DeviantartError("Authentication through Authorization Code (Grant Type) is required in order to connect to this endpoint.")

        response = self._req('/user/whois', post_data={
            "usernames":usernames
        })

        users = []

        for item in response['results']:
            u = User()
            u.from_dict(item)
            users.append(u)

        return users
def get_users ( self , usernames ) : if self . standard_grant_type is not "authorization_code" : raise DeviantartError ( "Authentication through Authorization Code (Grant Type) is required in order to connect to this endpoint." ) response = self . _req ( '/user/whois' , post_data = { "usernames" : usernames } ) users = [ ] for item in response [ 'results' ] : u = User ( ) u . from_dict ( item ) users . append ( u ) return users
Fetch user info for given usernames

        :param username: The usernames you want metadata for (max. 50)