Example #1
0
 /**
  * Execute the command.
  *
  * @return void
  */
 public function handle()
 {
     $api = new Api();
     $char = $this->character;
     $member = $this->member;
     $data = $api->getCharacterInfo($member->battletag, $char->diablo_id);
     /* Unset keys that aren't required for easier debugging */
     unset($data['skills']);
     unset($data['items']);
     unset($data['followers']);
     unset($data['progression']);
     $this->updateStats($data);
 }