Skip to content

dacodmagagula/sheets2json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sheets2Json

This code parses Google Sheets Json to a Json version that's easy to consume

It can be used flexibly to parse any GoogleSheet if you pass a googlesheet ID as a parameter value (eg. index.php?sheetId=xxxx) or simply to parse one Google Sheet with the sheetId specified in the code in index.php .

You can also just copy the code in index.php and translate into any language of your choice.

Example:

From

sheets2json.png

TO

json4romSheet.png

How to Use

  1. Clone repository and run composer install (or translate code in index.php into different language)

  2. Publish your sheet to the web

publishSheetToWeb.png

  1. Copy Sheet ID

copySheetId.png

  1. Paste Sheet ID in index.php or pass it as a parameter via the URL index.php?sheetId=xxxx

License

You can use this code however you like (see LICENSE).

Releases

No releases published

Packages

No packages published

Languages