Live data from Hacker News

Show HN: Turn a Google Spreadsheet into an API

sheetsu.com

41–50 of 103 posts

Re: Show HN: Turn a Google Spreadsheet into an API

#42
post #16

1. How to get columns? 2. Your docs say: http://sheetsu.com/apis/12345/column/:column_name Is ':' a documentation convention somewhere that I've not come across? I tried: http://sheetsu.com/apis/12345/column/:Email http://sheetsu.com/apis/12345/column/:email until I realised it was just: http://sheetsu.com/apis/12345/column/Email

Yes, it's just /column/Email.

[deleted]

Re: Show HN: Turn a Google Spreadsheet into an API

#43
post #16

1. How to get columns? 2. Your docs say: http://sheetsu.com/apis/12345/column/:column_name Is ':' a documentation convention somewhere that I've not come across? I tried: http://sheetsu.com/apis/12345/column/:Email http://sheetsu.com/apis/12345/column/:email until I realised it was just: http://sheetsu.com/apis/12345/column/Email

the colon is meant to show/explain the following is a variable

Re: Show HN: Turn a Google Spreadsheet into an API

#44
I've used Google Spreadsheet as an "API" before (manually, not using this wrapper), and it is definitely not made to be used as such. Under heavy load, it slows down or times out, and even under the best circumstances it's not exactly fast.

It's great in a pinch. My use-case was a spreadsheet that others in my organization wanted to edit, then we'd pull the data onto a web page and display nicely. It worked, but eventually we had to set up a secondary server to cache the spreadsheet result because pulling directly from Google in realtime was too unreliable.

Re: Show HN: Turn a Google Spreadsheet into an API

#46

I've used Google Spreadsheet as an "API" before (manually, not using this wrapper), and it is definitely not made to be used as such. Under heavy load, it slows down or times out, and even under the best circumstances it's not exactly fast. It's great in a pinch. My use-case was a spreadsheet that others in my organization wanted to edit, then we'd pull the data onto a web page and display nicely. It worked, but even…

Thanks for sharing. It's clear this approach works for small datasets and if you want something more reliable under heavy load just go for a proper database. Might work well with prototypes though.

Re: Show HN: Turn a Google Spreadsheet into an API

#49

Every year, twice a year someone posts this solution. We get it. You hack.

So? Out of the thousands of people that frequent this site, a tiny percentage of them make this, and it's cool for people that have never seen it.

Also, relevant xkcd. https://xkcd.com/1053/

Post reply on HN