gspread is a Python API for Google Sheets. A service account is a special type of Google account intended to represent a non-human user that needs to authenticate and be authorized to access data in Google APIs [sic]. Since it’s a separate account, by default it does not have access to any spreadsheet until you share it with this account. Just like any other Google account. To access spreadsheets via Google Sheets API you need to authenticate and authorize your application. Older versions of gspread have used oauth2client. Google has deprecated it in favor of google-auth. If you’re still using oauth2client credentials, the library will convert these to google-auth for you, but you can change your code to use the new credentials to make sure nothing breaks in the future. If you familiar with the Jupyter Notebook, Google Colaboratory is probably the easiest way to get started using gspread.

Features

  • Google Sheets API v4
  • Open a spreadsheet by title, key or url
  • Read, write, and format cell ranges
  • Sharing and access control
  • Batching updates
  • Requires Python 2.7+ or Python 3+

Project Samples

Project Activity

See All Activity >

Categories

Spreadsheet

License

MIT License

Follow Google Spreadsheets Python

Google Spreadsheets Python Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Google Spreadsheets Python!

Additional Project Details

Programming Language

Python

Related Categories

Python Spreadsheet Software

Registered

2021-10-11