#NEWLINE# def _get_windows_live_user_info( self , auth_info , key = None , secret = None ) : #NEWLINE# #INDENT# 'Windows Live API user profile endpoint:\n        https://apis.live.net/v5.0/me\n\n        Profile picture:\n        https://apis.live.net/v5.0/USER_ID/picture\n        ' #NEWLINE# resp = self . _oauth2_request ( 'https://apis.live.net/v5.0/me?{0}' , auth_info [ 'access_token' ] ) #NEWLINE# uinfo = json . loads ( resp ) #NEWLINE# uinfo . update ( avatar_url = 'https://apis.live.net/v5.0/{0}/picture' . format ( uinfo [ 'id' ] ) ) #NEWLINE# return uinfo