I need to know when a Google sheet is updated last time it was edited. This API https://spreadsheets.google.com/feeds/cells/sheetID/1/public/full?alt=json doesn't retrieve the last updated time correctly it says.
What tricks or method should I apply to get the correct date-time of last updated time of any Google sheet. Thanks
public function get_json_data() {
$sheet_url = "https://spreadsheets.google.com/feeds/cells/1t7MnIPlu_lU9srlftEvtSnSx3db3-hLctNXFao3wRVQ/1/public/full?alt=json";
$res = file_get_contents($sheet_url);
return json_decode($res, true)['feed'];
}