Using Google Visualization API with PHP
April 4, 2008 8:20 AM Subscribe
I heard the Google Visualization API Query Language allows you to query Google Spreadsheet documents using a language similar to SQL. Is there a PHP library I can get to use a Google Spreadsheet as a simple database table?
Response by poster: You're right. I can just export the data into CSV. Actually, I even found out you can simply send the query statement via the URL.
One caveat I just discovered, queries are only used to read data, not write.
posted by remi at 9:00 AM on April 4, 2008
One caveat I just discovered, queries are only used to read data, not write.
posted by remi at 9:00 AM on April 4, 2008
This thread is closed to new comments.
Choose 'More publishing options' (small link at the bottom of the 'publish' tab) and select your formats. A CSV file can be loaded directly into a MySQL db using LOAD DATA INFILE if you have the FILE privilege -- otherwise, it's fairly easy to parse and insert a CSV.
posted by mrflip at 8:57 AM on April 4, 2008