response->result)) && ($obj->response->result) && (isset($obj->response->resultcount)) && ($obj->response->resultcount == 1)) { $obj->response->publishedfiledetails[0]->creator_data = null; try { $obj->response->publishedfiledetails[0]->creator_data = SteamUser::querySteamData(env('STEAM_API_KEY'), $obj->response->publishedfiledetails[0]->creator); } catch (\Exception $e) { } return $obj->response->publishedfiledetails[0]; } throw new \Exception('Invalid data response'); } }