#NEWLINE# def get_user_details( self , response ) : #NEWLINE# #INDENT# player = self . get_json ( USER_INFO , params = { #NEWLINE# #INDENT# 'key' : self . setting ( 'API_KEY' ) , #NEWLINE# 'steamids' : self . _user_id ( response ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( len ( player [ 'response' ] [ 'players' ] ) > 0 ) : #NEWLINE# #INDENT# player = player [ 'response' ] [ 'players' ] [ 0 ] #NEWLINE# details = { #NEWLINE# #INDENT# 'username' : player . get ( 'personaname' ) , #NEWLINE# 'email' : '' , #NEWLINE# 'fullname' : '' , #NEWLINE# 'first_name' : '' , #NEWLINE# 'last_name' : '' , #NEWLINE# 'player' : player , #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# details = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# return details