code: def get_all_external_accounts(resource_root, type_name, view=None):
    
    return call(resource_root.get,
        EXTERNAL_ACCOUNT_FETCH_PATH % ("type", type_name,),
        ApiExternalAccount, True, params=view and dict(view=view) or None)
docs: Lookup all external accounts of a particular type, by type name.
    @param resource_root: The root Resource object.
    @param type_name: Type name
    @param view: View
    @return: An ApiList of ApiExternalAccount objects matching the specified type