This project is a minimal API built with .NET 8.0 that interacts with Google Sheets using Google's Sheets API v4. It provides endpoints to read and write data to a Google Sheet.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- .NET 8.0 SDK
 - Docker (optional)
 
- Clone the repository to your local machine.
 - Navigate to the project directory.
 - Run 
dotnet restoreto restore the project dependencies. 
The project uses a Google service account for authentication with the Google Sheets API. You need to download a JSON key file for your service account and place it in the wwwroot directory of the project. The name of this file should be ellsworth.json.
The project also uses an API key for authentication. This key is specified in the appsettings.json file.
You can run the application using the .NET CLI:
dotnet runThe application will start and listen on http://localhost:8001.
The application provides the following endpoints:
- 
POST /api/write: Writes data to a Google Sheet. The request body should be a JSON object that specifies the spreadsheet ID, the sheet name, the range, and the values to write. - 
GET /api/read: Reads data from a Google Sheet. The spreadsheet ID and the range are hardcoded in the application. 
- amg262
 
This project is licensed under the MIT License.