Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

This project converts the result from the Google Sheets APIv3, to a more readable form. This project no longer functions due to the V3 version being removed.

License

Notifications You must be signed in to change notification settings

ElwynVdb/GoogleSheetsJSONConverter

Repository files navigation

Google Sheets to JSON

(This project no longer works, this due to V3 being deprecated, and no longer in use by google.)

This program can be used to convert any sheets with data to a JSON

First you'll need a sheet like:

Test Sheet

The first row holds the keys for the json, Everything below are values Meaning the conversion will look like :

[
  {
    "Value1": "Test",
    "Value2": "Test2"
  },
  {
    "Value1": "Test1",
    "Value2": "Test3"
  }
]

How to convert ?

  • Go to your spreadsheet open the tab "File" and select "Publish to the web"

Publish

  • Then open "Published content & settings" and click "Start publishing"

PublishWeb

  • Now to convert it to a json you will need to copy a part of your spreadsheet URL

Your url will roughly look like this, copy the part where "SheetID" is in this example:

https://docs.google.com/spreadsheets/d/"SheetID"/edit#gid=0
  • Now open the jar file and put this into the text box and press "OK"

Input

Output

The project will automatically create the following file in the directory:

"output.json"

Information

This project was inspired by this image from Google Sheets API:

Inspired

About

This project converts the result from the Google Sheets APIv3, to a more readable form. This project no longer functions due to the V3 version being removed.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages