From d3a09283144e92c592df472af22410db6def80dc Mon Sep 17 00:00:00 2001 From: Steve Winward <2002602+SteveWinward@users.noreply.github.com> Date: Sun, 6 Oct 2024 20:04:18 -0400 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5525f5a..0b02c03 100644 --- a/README.md +++ b/README.md @@ -319,10 +319,14 @@ using (var stream = new FileStream(filepath, FileMode.Open)) // Google Sheets API throttles requests per minute so you may need to play // with this setting. appender.AppendCsv( - stream, // The CSV FileStrem - csvHasHeaderRecord: true, // true indicating the CSV file has a header record as the first row - skipWritingHeaderRow: false, // false indicating to not skip writing the header record to the Google sheets file - batchWaitTime: 1000); // 1000 milliseconds to wait every 100 rows that are batch sent to the Google Sheets API + // The CSV FileStream + stream, + // true indicating the CSV file has a header record as the first row + csvHasHeaderRecord: true, + // false indicating to not skip writing the header record to the Google sheets file + skipWritingHeaderRow: false, + // 1000 milliseconds to wait every 100 rows that are batch sent to the Google Sheets API + batchWaitTime: 1000); // OPTION 2: Create your own CsvConfiguration object with full control on Culture and delimiter var csvConfig = new CsvConfiguration(CultureInfo.CurrentCulture)