diff --git a/gspread/worksheet.py b/gspread/worksheet.py index 0e3caf31e..c8bfc17c1 100644 --- a/gspread/worksheet.py +++ b/gspread/worksheet.py @@ -627,7 +627,12 @@ def append_records( :type ignore_extra_headers: bool :param default_blank: The value to use for missing columns in the data. Defaults to an empty string. :type default_blank: Any - + :param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1. + :type header_row: int + :param value_input_option: (optional) Determines how the input data + should be interpreted. See `ValueInputOption`_ in the Sheets API + reference. + :type value_input_option: :class:`~gspread.utils.ValueInputOption` :raises GSpreadException: If extra headers are found in the data set and `ignore_extra_headers` is False. """ @@ -663,6 +668,12 @@ def append_record( :type ignore_extra_headers: bool :param default_blank: The value to use for missing columns in the data. Defaults to an empty string. :type default_blank: Any + :param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1. + :type header_row: int + :param value_input_option: (optional) Determines how the input data + should be interpreted. See `ValueInputOption`_ in the Sheets API + reference. + :type value_input_option: :class:`~gspread.utils.ValueInputOption` :raises GSpreadException: If extra headers are found in the data set and `ignore_extra_headers` is False. """ @@ -701,6 +712,12 @@ def insert_records( :param insert_row: Row number(1-indexed) where the data would be inserted. Defaults to 2. :type insert_row: int + :param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1. + :type header_row: int + :param value_input_option: (optional) Determines how the input data + should be interpreted. See `ValueInputOption`_ in the Sheets API + reference. + :type value_input_option: :class:`~gspread.utils.ValueInputOption` :raises GSpreadException: If extra headers are found in the data set and `ignore_extra_headers` is False. @@ -750,6 +767,12 @@ def insert_record( :param insert_row: Row number(1-indexed) where the data would be inserted. Defaults to 2. :type insert_row: int + :param header_row: (optional) Row number(1-indexed) of column titles. Defualts to 1. + :type header_row: int + :param value_input_option: (optional) Determines how the input data + should be interpreted. See `ValueInputOption`_ in the Sheets API + reference. + :type value_input_option: :class:`~gspread.utils.ValueInputOption` :raises GSpreadException: If extra headers are found in the data set and `ignore_extra_headers` is False.