How To Use Google Sheets As Your Website Database
Turns out basic web scraping automatically grabbing data from websites is possible right in your google sheet without needing to write any code.
How to use google sheets as your website database. The key point to understand with spreadsheet data is that each cell contains the data itself and a format applied to that data. You can extract specific information from a website and show it in your google sheet using some of sheets special formulas. With a small library i created called get sheet done you can have a free cloud database with gui editor up and running in less than 5 minutes. Turn your google sheets csv files and mysql databases into tables charts and graphs. For example suppose a cell contained.
Go to sheetsu and login using your google account. Click on file and click on publish to web you can share the link to the people who would be adding data to your site copy the sheet id starting from d to the ending forward slash excluding it. Insert your tables and charts into any wordpress post or page using shortcodes. Customize the look of your new elements by adding new parameters to your shortcodes. Go to google sheets and quickly create a blank spreadsheet.
For example small workflow applications like expense approval. Build a company info page that pulls data from a google spreadsheet. Now you need to create the credentials to authenticate access the data from your sheet. If you want to rapidly prototype your next web apps try using google spreadsheets as your data backend. Data and basic formulas different types of data.
Just 2 clicks click on create json api from sheetsu dashboard and paste the url of spreadsheet that you created in step 1. Publish the spreadsheet on the web first. The google sheets api will give you access to all the data you need to view and manipulate. Go to the google api console and click on library in the left menu. Update your wordpress tables and graphs by modifying their parent values on google sheets.
You should consider a google spreadsheet as a database in these scenarios. Prototype a dynamic web site using only html css and js. No back end create a static site but have a cms where non engineers can change data content on your site. 2 or 2 00 or 2. You can get a json response with the entire spreadsheet data.