Live data from Hacker News

Show HN: Turn a Google Spreadsheet into an API

sheetsu.com

101–103 of 103 posts

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

#101
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

Would be nice you could get single 'row' too, by number like: '/row/2'

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

#102
post #32

Earlier quoted context omitted.

If you're into node, you might want to check out json-server. A single json file with one sample entity is the basis of a full API. Check it out at https://github.com/typicode/json-server

Or FakeRest for that matter. Why would you set up a server when everything you need is a browser ? https://github.com/marmelab/FakeRest

Whoa, looks neat and honestly sounds too good to be true.

>Intercept XMLHttpRequest to fake a REST server based on JSON data. Use it on top of Sinon.js to test JavaScript REST clients on the browser side (e.g. single page apps) without a server.

I'll check it out this weekend, but man... thanks for sharing!

Post reply on HN