Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 861 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 861 Bytes

CodeFactor

📊 googleSheets

Connection to read, write and update Google Sheets.

Code: PHP

📗 Requirements

📒 Configuration

  1. Install composer require 'google/apiclient'
  2. Copy json key of service account in credentials.json
  3. Update your parameters in config.php
  4. Remember to share your Google sheet with service account's email

📔 Usage

📥 Read

Method GET

You can specify a range on query ?range=A3:B5.

📤 Write

Method POST

Specify operation type on body.

📘 Update

Need range on body range=A3:B5.

📚 Append