I want to get content of publicly shared google docs using axios
if possible. I can get a google sheet content with a Google API key using the following code.
const url = "https://sheets.googleapis.com/v4/spreadsheets/{SHEET_ID}/?key={API_KEY}&includeGridData=true";
axios.get(url)
.then(res => {
// Something
});
I tried the same for getting google docs by the following URL but it does not work.
https://docs.googleapis.com/v1/documents/{DOC_ID}/?key={API_KEY}
Is it possible like this?