'Return user details from Bitbucket account'

def get_user_details(self, response):

    return {'username': response.get('username'), 'email': response.get('email'), 'fullname': '    '.join((response.get('first_name'), response.get('last_name'))), 'first_name': response.get('first_name'), 'last_name': response.get('last_name')}
