agoragames/bnet_scraper — pull request #3 by logankoester (2012-04-13 21:32:43+00:00)
Title: Ability to check if Battle.net is online for a region

Ask the TL.net bot if Battle.net is currently online for a given region.
This page is updated every 5 minutes. Call #fetch to refresh.

Examples:

BnetScraper::Starcraft2::Status.na => 'Online'
BnetScraper::Starcraft2::Status.fea => 'Offline'
BnetScraper::Starcraft2::Status.cn => nil (China is unsupported)
BnetScraper::Starcraft2::Status.fetch => [
{:region=>"North America", :status=>"Online"},{:region=>"Europe", :status=>"Online"},
{:region=>"Korea", :status=>"Online"}, {:region=>"South-East Asia", :status=>"Online"}
]