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

Other Useful Business Software
$300 in Free Credit for Your Google Cloud Projects Icon
$300 in Free Credit for Your Google Cloud Projects

Build, test, and explore on Google Cloud with $300 in free credit. No hidden charges. No surprise bills.

Launch your next project with $300 in free Google Cloud credit—no hidden charges. Test, build, and deploy without risk. Use your credit across the Google Cloud platform to find what works best for your needs. After your credits are used, continue building with free monthly usage products. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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