Skip to content

logz05/php-google-spreadsheet-data-extractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP Google Sheet Data Extractor

Extract Google Sheet data via QUERY link method (without any Google Sheets API)

(Requires PHP 7.X)

#00ff5e Make sure to set your sheet to be public viewable

#00ff5e Sample usage

// Instantiate 'GoogleSheetDataExtractor' object
$googleSheetDataExtractor = new GoogleSheetDataExtractor();

// Extract data from sheet
$rows = $googleSheetDataExtractor->getData('<YOUR_SHEET_ID>', '<SHEET_NAME>', 'B5:D10', 'SELECT *');

// Display fetched per row data
var_dump($rows);

PHPSandbox Notebook

#00ff5e Result

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%