Load credentials over a file from Dropbox (or others) to use with Gspread. - MUMT-IT/mis2018 GitHub Wiki
First get a share link from Dropbox and make sure that it ends with dl=1 instead of dl=0.
import requests
credentials = requests.get(os.environ.get('GOOGLE_JSON_KEYFILE')).json()
gc = gspread.service_account_from_dict(credentials)