(no title)
BetaMechazawa | 11 years ago
It requires javascript for the "full experience". https://api.pushjet.io
Should I redo it? Are there things I should change?
BetaMechazawa | 11 years ago
It requires javascript for the "full experience". https://api.pushjet.io
Should I redo it? Are there things I should change?
onion2k|11 years ago
Also, what's especially unhelpful in your documentation is the fact your example code returns errors. In the /listen POST documentation clicking the Send button displays
I assume that means it's already connected, but should that be the case in an example of creating a connection?EDIT: My post would be more useful with an example of how verbose I think you should be. Firebase gets it right - https://www.firebase.com/docs/web/quickstart.html - and their brilliant interactive tutorial that really drives home how easy it is to use - https://www.firebase.com/tutorial/#gettingstarted
BetaMechazawa|11 years ago
I'll add some documentation about what endpoints do and what kind of "flow" an application needs to interact with the API when I get home from work. I'll also finish my quick start guide while I'm at it then.
yourad_io|11 years ago
I like your "try-this-request", however IMHO it is missing a "request is in progress..." kind of indicator - clear the output space and add a spinner? I had to look in the developer tools to ensure that it works.
Finally, not all things work: 'Websockets/Run Example' doesn't do anything. In the background there is a 500: 'WebSocket connection to 'wss://api.pushjet.io/socket' failed: Error during WebSocket handshake: Unexpected response code: 500'. In your defense, you do mention that "Websockets are really iffy at the the moment and are currently in the process of being redone". But still, better capture that error and show it somehow.
All in all, ahead of the curve ;) Some UI lovin' would put you at the head of it.
BetaMechazawa|11 years ago
diggan|11 years ago
BetaMechazawa|11 years ago