g_sheets_api
g_sheets_api
This repository demonstrates how to interact with the Google Sheets API using the Crystal programming language. It provides a simple, practical example for reading, writing, updating, and deleting rows in a Google Sheet, all from Crystal code.
The code is designed to be clear and easy to follow, making it a great reference for anyone looking to automate Google Sheets tasks or integrate spreadsheet data into their Crystal applications.
For instructions on setting up your Google Cloud project, enabling the Sheets API, and obtaining credentials, please refer to the accompanying blog post.
Installation
Follow the setup for the Goolge sheets API from the blog post here. Then install depdendencies from the project root:
shards install
Usage
- Add a
cred.json
file from the setup phase to project folder. - Run the example with
crystal run src/g_sheets_api.cr
Contributing
- Fork it (https://github.com/your-github-user/g_sheets_api/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Marouen Bousnina - creator and maintainer
g_sheets_api
- 0
- 0
- 0
- 0
- 1
- 14 days ago
- June 8, 2025
MIT License
Fri, 27 Jun 2025 11:21:30 GMT