{"id":13494327,"url":"https://github.com/googleapis/google-api-python-client","last_synced_at":"2026-02-12T02:22:38.954Z","repository":{"id":13068667,"uuid":"15749269","full_name":"googleapis/google-api-python-client","owner":"googleapis","description":"🐍 The official Python client library for Google's discovery based APIs.","archived":false,"fork":false,"pushed_at":"2026-01-13T07:43:23.000Z","size":546657,"stargazers_count":8657,"open_issues_count":180,"forks_count":2523,"subscribers_count":291,"default_branch":"main","last_synced_at":"2026-01-13T10:35:28.731Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://googleapis.github.io/google-api-python-client/docs/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googleapis.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-01-08T21:55:56.000Z","updated_at":"2026-01-13T10:23:01.000Z","dependencies_parsed_at":"2023-01-16T20:00:17.409Z","dependency_job_id":"a39f1fe9-8ba5-4b33-ab3c-3ccb3ed9f78f","html_url":"https://github.com/googleapis/google-api-python-client","commit_stats":{"total_commits":1492,"total_committers":192,"mean_commits":7.770833333333333,"dds":0.6762734584450403,"last_synced_commit":"84530bde51148a9c3e104f4e4622689e479bfed8"},"previous_names":["google/google-api-python-client"],"tags_count":251,"template":false,"template_full_name":null,"purl":"pkg:github/googleapis/google-api-python-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fgoogle-api-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fgoogle-api-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fgoogle-api-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fgoogle-api-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleapis","download_url":"https://codeload.github.com/googleapis/google-api-python-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleapis%2Fgoogle-api-python-client/sbom","scorecard":{"id":437092,"data":{"date":"2025-08-11","repo":{"name":"github.com/googleapis/google-api-python-client","commit":"dca59e86d7cee26a553cd9ee75ecaa5a67107696"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":7.2,"checks":[{"name":"Maintained","score":10,"reason":"24 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":10,"reason":"project is fuzzed","details":["Info: OSSFuzz integration found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/googleapis/google-api-python-client/main.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/googleapis/google-api-python-client/main.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:60","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:63","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-19T04:56:44.786Z","repository_id":13068667,"created_at":"2025-08-19T04:56:44.786Z","updated_at":"2025-08-19T04:56:44.786Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28474498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T00:03:33.697Z","status":"ssl_error","status_checked_at":"2026-01-15T23:58:36.859Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-07-31T19:01:23.954Z","updated_at":"2026-01-16T08:00:11.523Z","avatar_url":"https://github.com/googleapis.png","language":"Python","readme":"# Google API Client\n\n[![PyPI version](https://badge.fury.io/py/google-api-python-client.svg)](https://badge.fury.io/py/google-api-python-client)\n\nThis is the [Google API Python client library](https://cloud.google.com/apis/docs/client-libraries-explained#google_api_client_libraries)\nfor Google's discovery based APIs. To get started, please see the\n[docs folder](https://github.com/googleapis/google-api-python-client/blob/main/docs/README.md).\n\nThis library is considered complete and is in maintenance mode. This means\nthat we will address critical bugs and security issues but will not add any\nnew features.\n\nThis library is officially supported by Google.  However, the maintainers of\nthis repository recommend using [Cloud Client Libraries for Python](https://github.com/googleapis/google-cloud-python),\nwhere possible, for new code development. For more information, please visit\n[Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained).\n\n## Version 2.0 Release\nThe 2.0 release of `google-api-python-client` includes a substantial reliability \nimprovement, compared with 1.x, as discovery documents are now cached in the library \nrather than fetched dynamically. It is highly recommended to upgrade from v1.x to v2.x.\n\nOnly python 3.7 and newer is supported. If you are not able to upgrade python, then\nplease continue to use version 1.x as we will continue supporting python 2.7+ in\n[v1](https://github.com/googleapis/google-api-python-client/tree/v1).\n\nDiscovery documents will no longer be retrieved dynamically when\nyou call `discovery.build()`. The discovery documents will instead be retrieved\nfrom the client library directly. New versions of this library are released weekly.\nAs a result of caching the discovery documents, the size of this package is at least \n50 MB larger compared to the previous version. \n\nPlease see the [Migration Guide](https://github.com/googleapis/google-api-python-client/blob/main/UPGRADING.md)\nfor more information.\n\n## Documentation\n\nSee the [docs folder](https://github.com/googleapis/google-api-python-client/blob/main/docs/README.md) for more detailed instructions and additional documentation.\n\n## Other Google API libraries\n\nThe maintainers of this repository recommend using\n[Cloud Client Libraries for Python](https://github.com/googleapis/google-cloud-python),\nwhere possible, for new code development due to the following reasons:\n\nWith [Cloud Client Libraries for Python](https://github.com/googleapis/google-cloud-python):\n- There is a separate client library for each API, so you can choose\nwhich client libraries to download. Whereas, `google-api-python-client` is a\nsingle client library for all APIs. As a result, the total package size for\n`google-api-python-client` exceeds 50MB.\n- There are stricter controls for breaking changes to the underlying APIs\nas each client library is focused on a specific API.\n- There are more features in these Cloud Client Libraries as each library is\nfocused on a specific API, and in some cases, the libraries are owned by team\nwho specialized in that API.\n- Developers will benefit from intellisense.\n\nFor more information, please visit\n[Client Libraries Explained](https://cloud.google.com/apis/docs/client-libraries-explained).\n\nAlthough there are many benefits to moving to\n[Cloud Client Libraries for Python](https://github.com/googleapis/google-cloud-python),\nthe maintainers want to emphasize that `google-api-python-client` will continue\nto be supported.\n\nFor Google Ads API, we recommend using [Google Ads API Client Library for Python](https://github.com/googleads/google-ads-python/).\n\nFor Google Firebase Admin API, we recommend using [Firebase Admin Python SDK](https://github.com/firebase/firebase-admin-python).\n\n## Installation\n\nInstall this library in a [virtualenv](https://virtualenv.pypa.io/en/latest/) using pip. virtualenv is a tool to\ncreate isolated Python environments. The basic problem it addresses is one of\ndependencies and versions, and indirectly permissions.\n\nWith virtualenv, it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n### Mac/Linux\n\n```bash\npip3 install virtualenv\nvirtualenv \u003cyour-env\u003e\nsource \u003cyour-env\u003e/bin/activate\n\u003cyour-env\u003e/bin/pip install google-api-python-client\n```\n\n### Windows\n\n```batch\npip install virtualenv\nvirtualenv \u003cyour-env\u003e\n\u003cyour-env\u003e\\Scripts\\activate\n\u003cyour-env\u003e\\Scripts\\pip.exe install google-api-python-client\n```\n\n## Supported Python Versions\n\nPython 3.7, 3.8, 3.9, 3.10, 3.11, 3.12 and 3.13, 3.14 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions.\n\n## Unsupported Python Versions\n\nPython \u003c 3.7\n\n## Third Party Libraries and Dependencies\n\nThe following libraries will be installed when you install the client library:\n* [httplib2](https://github.com/httplib2/httplib2)\n* [uritemplate](https://github.com/sigmavirus24/uritemplate)\n\nFor development you will also need the following libraries:\n* [WebTest](https://pypi.org/project/WebTest/)\n* [pyopenssl](https://pypi.python.org/pypi/pyOpenSSL)\n\n## Contributing\n\nPlease see our [Contribution Guide](https://github.com/googleapis/google-api-python-client/blob/main/CONTRIBUTING.rst).\nIn particular, we love pull requests - but please make sure to sign\nthe contributor license agreement.\n","funding_links":[],"categories":["Python","Third-party APIs","第三方 API","Third-party Web APIs","Awesome Python"],"sub_categories":["Third-party APIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleapis%2Fgoogle-api-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleapis%2Fgoogle-api-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleapis%2Fgoogle-api-python-client/lists"}