Pull data from Google Sheets, Drive, or Gmail into a Python script without writing raw HTTP requests.
Automate Google Calendar event creation or YouTube video uploads from a Python application.
Connect to any of hundreds of Google services with one standardized library instead of separate per-service SDKs.
Requires setting up Google API credentials (OAuth2 or service account) in the Google Cloud Console before making any API calls.
This is the official Python library for connecting to Google's APIs from Python code. It acts as a bridge between your Python program and hundreds of Google services, handling the low-level details of making requests and processing responses so you do not have to write that plumbing yourself. The library is considered complete and is now in maintenance mode. The team behind it will fix critical bugs and security problems but will not add new features. For new projects, Google's own maintainers recommend using the Cloud Client Libraries for Python instead, which is a separate set of more focused libraries, one per Google service. The reason for that recommendation is mainly that this library bundles descriptions of every Google API it supports, which makes the package over 50 MB in size. The focused libraries are smaller and tend to have more features for specific services. Version 2 of this library made a significant change: it no longer fetches API descriptions from the internet at runtime. Those descriptions are now bundled into the package itself, which makes startup more reliable but also contributes to the large package size. Upgrading from version 1 to version 2 is recommended for anyone still using the older version. Installation is straightforward via pip, and the README includes step-by-step instructions for Mac, Linux, and Windows. Python 3.7 and newer is required. Python 2.7 is only supported in the older version 1 branch. If your use case involves Google Ads or Firebase, the README points to dedicated libraries for those services rather than this general-purpose one.
← googleapis on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.