How do I connect Google Sheets as a database to a Kotlin app?

2.9k views Asked by At

What I plan to achieve is be able to pull data from the sheets.

Name I.D Image URL Website URL

and populate a text view, image view and webview.

1

There are 1 answers

1
Gustavo On BEST ANSWER
  • The endpoint mentioned http://spreadsheets.google.com/feeds/<feed>/<key>/<worksheet>/public/<...>?alt=json was provided by an older Google API called GData (Google Data Protocol).

  • That API however is being deprecated. Users of GData API (Spreadsheet endpoint) must migrate to Sheets API.

  • To fetch the values of the Sheets file from your Kotlin app, I’d recommend using the method spreadsheets.values/get.