Tanaike
unread,Feb 7, 2022, 7:37:50 AM2/7/22Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Apps Script Community
In the current stage, Sheets API v4 cannot be used without the API key and the access token even when the Spreadsheet is publicly shared. It seems that this is the current specification. And also, the method of spreadsheets.values.get doesn't return the XML data. And also, even when the Spreadsheet is published as Web, the XML data cannot be returned, while the values can be retrieved by HTML request without the API key and the access token.
From these situations, as a workaround, when you want to return the XML data by HTML request, how about using Web Apps? I thought that when Web Apps created by Google Apps Script is used, the XML data can be returned.
If this method is not the direction you expect, I apologize.