I had connected to google sheets in python using the json key file which was available on my computer. Now the key file is available online on slack/google drive. How do i use it so that everyone in my org is able to make changes to the python code linked to a particular spreadsheet?
This was the code before:
credentials = ServiceAccountCredentials.from_json_keyfile_name(
r"C:\Users\nilad\OneDrive\Desktop\creds.json", scope)
This worked fine.
The code now:
credentials = ServiceAccountCredentials.from_json_keyfile_name(
"https://layerfive.slack.com/files/UKVDY5RTN/F02CRDN636C/layerfiveintegrationmonitoring-c47eacd6d461.json", scope)
This throws an error on the path towards the json file.