Wondering how hard the @kwwika API is to work with?
I had a couple of hours spare before my flight home, so I made this. It’s a perfect example of how easy it is to work with the @Kwwika API as I was able to throw this together so quickly.
The heavy lifting is done within the initialize function.
Where the updateCharts function updates the pie graphs for each statistic as well as the text display. The actual @Kwwika code can be reduced even further.
That’s it! 4 lines to subscribe to a Kwwika feed and receive realtime updates. Of course Kwwika does a whole lot behind the scenes when you write those 4 lines, but we don’t need to worry about that. To borrow a phrase from another well known tech company;
It just works.
Which is fantastic for me, as like all good developers, I’m lazy ;)