def read_spreadsheet(service, sheet_id, cell_range):
    """
    Reads the contents of the given spreadsheet.
    """

    sheet = service.spreadsheets()
    result = sheet.values().get(spreadsheetId=sheet_id,
                                range=cell_range).execute()
    values = result.get("values")
    return values