This gem is a simple html parser that allow you to know the Diablo III server's availability.
just do :
gem install d3_status
then do :
d3_status