init_gspread

pyR2D2.write.google.init_gspread(json_key, project)[source]

This function initialize the utility of google spread

Parameters:
  • json_key (str) – file of json key to access Google API

  • project (str) – Project name, typically name of upper directory

Returns:

gc – Instance of Google API

Return type:

gspread.client.Client