I want to send an SQL query to Google Sheets REST API, which returns JSON for values, instead of HTML or JSONP(text)
The API i am talking about is this: https://developers.google.com/sheets/api/reference/rest/
But i cannot see any Reference for giving SQL query as part of the API. Is this not possible?
Google Sheets does allow to process SQL query but it is giving me only HTML or some text based JSONP data back, instead of pure json.
The endpoint i am using is this:
GET https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}