code: def get_external_account_by_display_name(resource_root,
                                           display_name, view=None):
    
    return call(resource_root.get,
        EXTERNAL_ACCOUNT_FETCH_PATH % ("accountByDisplayName", display_name,),
        ApiExternalAccount, False, params=view and dict(view=view) or None)
docs: Lookup an external account by display name
    @param resource_root: The root Resource object.
    @param display_name: Account display name
    @param view: View
    @return: An ApiExternalAccount object