M
M
MaxYenot2021-07-12 02:44:07
Google
MaxYenot, 2021-07-12 02:44:07

How to get public google spreadsheet data as .json from frontend?

Hello. There is a Google spreadsheet, which is given access to "everyone who has a link."
How to get its data as .json using XMLHttpRequest() from the frontend?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Neverov, 2021-07-12
@MaxYenot

According to the first link in Google, it turned out that the tables have this route:
https://spreadsheets.google.com/feeds/cells/YOURGO...
Replace YOURGOOGLESHEETCODE and SHEETPAGENUMBER with yours. For example:
https://spreadsheets.google.com/feeds/cells/1g4FBk...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question