Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update readme #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# Google-Sheets-API-Python
# 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.