{"id":21090715,"url":"https://github.com/sanafagal/wsp-msg-automation","last_synced_at":"2025-06-16T01:37:44.499Z","repository":{"id":240809335,"uuid":"798574563","full_name":"SanAfaGal/wsp-msg-automation","owner":"SanAfaGal","description":"An intuitive application for managing and analyzing customer and reseller data stored in Google Sheets, providing insights and streamlined data organization.","archived":false,"fork":false,"pushed_at":"2025-03-27T16:40:53.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T17:39:39.422Z","etag":null,"topics":["automation","cloud-credentials","data-analysis","google-sheets-api","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SanAfaGal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-10T03:44:15.000Z","updated_at":"2025-03-27T16:40:57.000Z","dependencies_parsed_at":"2024-05-21T00:39:57.610Z","dependency_job_id":"979710bd-b774-4300-aab2-2ea71d6a5934","html_url":"https://github.com/SanAfaGal/wsp-msg-automation","commit_stats":null,"previous_names":["sanafagal/wsp-msg-automation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SanAfaGal/wsp-msg-automation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanAfaGal%2Fwsp-msg-automation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanAfaGal%2Fwsp-msg-automation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanAfaGal%2Fwsp-msg-automation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanAfaGal%2Fwsp-msg-automation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SanAfaGal","download_url":"https://codeload.github.com/SanAfaGal/wsp-msg-automation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SanAfaGal%2Fwsp-msg-automation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260082096,"owners_count":22956242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cloud-credentials","data-analysis","google-sheets-api","python"],"created_at":"2024-11-19T21:39:50.012Z","updated_at":"2025-06-16T01:37:44.331Z","avatar_url":"https://github.com/SanAfaGal.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## \u003cspan style=\"color: #FFF;\"\u003eIntroduction\u003c/span\u003e:\nThe project at hand is an application designed to manage and analyze customer and reseller data stored in Google Sheets spreadsheets. \n\n## Steps\n\n1. Visit \u003ca href=\"https://console.cloud.google.com/apis\" style=\"color: #007bff;\"\u003eGoogle Cloud Console\u003c/a\u003e.\n2. Create a new project (optional).\n3. Click on the \"Enable APIs \u0026 Services\" button.\n4. Enable the \u003cspan style=\"color: #28a745;\"\u003eGoogle Drive API\u003c/span\u003e.\n5. Enable the \u003cspan style=\"color: #28a745;\"\u003eGoogle Sheets API\u003c/span\u003e.\n6. Click on the \"Create credentials\" button.\n7. Select \"\u003cspan style=\"color: #6f42c1;\"\u003eService Account\u003c/span\u003e\".\n8. Fill out the form.\n9. Click on the newly created credential.\n10. Copy the email.\n11. Select the \"\u003cspan style=\"color: #dc3545;\"\u003ekeys\u003c/span\u003e\" tab.\n12. Add a new key.\n13. Select the JSON type.\n14. Open the Google Sheets file and share access with the \u003cspan style=\"color: #007bff;\"\u003eclient_email\u003c/span\u003e of the service account\n\n## Docs\n\n- [Service Account Documentation](https://cloud.google.com/iam/docs/service-account-overview)\n- [Best Practices for Managing Service Account Keys](https://cloud.google.com/iam/docs/best-practices-for-managing-service-account-keys)\n\n## Advice\n\n- Ensure that the name of the Google Sheet contains no spaces.\n- Make sure that the sheet is not set to private access only.\n\n## Run\nCreate a virtual environment and install packages:\n```\n# Creates a virtual environment named `env` in the current directory\npython -m venv env\n\n# Activates the virtual environment (Windows)\n.\\env\\Scripts\\activate\n\n# Upgrades the core Python packaging tools\npip install --upgrade pip setuptools wheel\n\n# (Optional) Lists all outdated packages, extracts the package names, and saves them to a file named `outdated.txt`\npip list --outdated --format=columns | tail -n +3 | awk '{print $1}' \u003e outdated.txt\n\n# (Optional) Upgrades all the packages listed in `outdated.txt` to their latest versions\npip install --upgrade -r outdated.txt\n\n# Installs all the dependencies specified in the `requirements.txt` file\npip install -r requirements.txt\n```\n\n## Environment Variables:\nMake sure you have the follow variables in your .env:\n```\nCHROME_PATH='.exe'\nEDGE_PATH'.exe'\nCREDS_PATH='.json'\nSPREADSHEET_TITLE='SpreadSheet'\nWORKSHEET_TITLE='WorkSheet'\nACCESS_SCOPES='scope_one,scope_two'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanafagal%2Fwsp-msg-automation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanafagal%2Fwsp-msg-automation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanafagal%2Fwsp-msg-automation/lists"}