Honestly, the Sheets API is overkill for small projects.
If your sheet is public (or you’re okay with it being public), you can use this hack:
Publish the sheet as CSV, then fetch it directly.
```javascript
fetch('https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/gviz/tq?tqx=out:csv')
.then(response => response.text())
.then(data => console.log(data));
```
But yeah, not the most secure. Works in a pinch though!
If your sheet is public (or you’re okay with it being public), you can use this hack:
Publish the sheet as CSV, then fetch it directly.
```javascript
fetch('https://docs.google.com/spreadsheets/d/YOUR_SHEET_ID/gviz/tq?tqx=out:csv')
.then(response => response.text())
.then(data => console.log(data));
```
But yeah, not the most secure. Works in a pinch though!
