I want to send data from my web application to a google drive spreadsheet, so it will be easier for other people see data. So I have one spreadsheet and I want to add lines to it whenever there is new data.
My question is, is there an option to just add a line to a spreadsheet?
If not, then I suppose the only way to accomplish this is by getting the file, adding the line, and than uploading again?
Once you've set up your API to Google Sheets connection, click Save And Run to get data to your spreadsheet.
The Google Drive API is meant for generic file / folder interactions. For directly modifying Google Spreadsheet data, the Google Sheets API would be the better choice.
Google Docs API is no longer supported use Google Drive API https://developers.google.com/drive/v2/reference/files/update
Please check Changes to deprecation policies and API spring cleaning
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With