Home > Back-end >  How do I connect Google Sheets as a database to a Kotlin app?
How do I connect Google Sheets as a database to a Kotlin app?

Time:02-06

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.

CodePudding user response:

  • 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.

  •  Tags:  
  • Related