def download_sheet(self, file_path, sheet_id, cell_range):
result = self.service.spreadsheets().values().get(<EOL>spreadsheetId=sheet_id,<EOL>range=cell_range,<EOL>).execute()<EOL>values = result.get('<STR_LIT>', [])<EOL>with open(file_path, newline='<STR_LIT>', encoding='<STR_LIT:utf-8>', mode='<STR_LIT:w>') as f:<EOL><INDENT>writer = csv.writer(f, lineterminator='<STR_LIT:\n>')<EOL>for row in values:<EOL><INDENT>writer.writerow(row)<EOL><DEDENT><DEDENT>
Download the cell range from the sheet and store it as CSV in the
`file_path` file.