First set the parameters in the first code cell. Then add the folder to your Matlab path and from now on you can enjoy CoffeeRoulette.
Credits for json2mat and json2mat go to Jonas Almeida http://code.google.com/p/json4mat/
Updated to correctly interpret the working hours.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.