php class to access battle.net api