I am working on a data Migration tool. I have add a functionality wherein a user can pull data from Google sheets.
The current approach that i have followed is by first generating credentials.json file from console.developers.google.com and used gspread library. So, whenever a user will have to pull data from google sheets , first he/she has to obtain the file, enable the drive api and share the file to be pulled with the client_email generated. But this seems very cumbersome for someone with limited technical knowledge.
What is the simplest way to do this?