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