From 3f5c2e83fb55078b204a2dd5c7fbeec6085c0823 Mon Sep 17 00:00:00 2001 From: Tan Hoang Date: Tue, 30 Jan 2024 21:14:05 +0700 Subject: [PATCH] Update README.md Update README.md --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f1b286..9348aab 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ -# Google-Sheets-API-Python \ No newline at end of file +# Google-Sheets-API-Python +This Python script demonstrates how to interact with Google Sheets using the Google Sheets API, enabling seamless data management and manipulation through Python scripts. +## Prerequisites +Before utilizing this script, ensure you have the following prerequisites: +1. Google Account: Create or use an existing Google account. +2. Google Cloud Platform Project: Set up a project, enable the Google Sheets API, and obtain the credentials.json file. +3. Python Environment: Install dependencies using pip install gspread oauth2client. +## Usage +1. Credentials: Place credentials.json in the script directory. +2. Spreadsheet ID: Replace sheet_id with your Google Sheets document ID. +3. Data Definition: Modify values to match your data. +4. Worksheet: Specify the worksheet name in new_worksheet_name. +5. Execution: Run the script to update the worksheet, calculate column sums, and format the header row. +## Notes +. Ensure proper permissions for the Google account associated with credentials.json. +. Keep credentials.json secure, as it contains sensitive authentication details.