Retrieve Google Spreadsheet Worksheet JSON

后端 未结 3 791
故里飘歌
故里飘歌 2020-12-05 00:38

I try to receive the JSON of a Google Spreadsheet Worksheet. It worked till some days ago. For the default worksheet it still works, but not for all other worksheets.

<
3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-05 01:27

    ChrisPeterson's note:

    You can use worksheet position number (1 for the first/default worksheet, 2 for the second worksheet).

    Original answer

    I came across the same issue and I managed to find my way out. It seems that they recently changed the id for each worksheet.

    You can find the new ID at the following

    https://spreadsheets.google.com/feeds/worksheets/YOUR_SPREADSHEET_ID/private/full

    I got something like o3laxt8 between tags

    Ps: od6 anddefault values will always work and redirect to the first worksheet of your document.

    Joe Germuska' note:

    od6 doesn't work anymore

    Seems to work again.

提交回复
热议问题