/** * Fetch Giantbomb results from GameID * * @return bool|mixed */ public function fetchGiantBombArray() { $obj = new \GiantBomb($this->publicKey); try { $fields = ["deck", "description", "original_game_rating", "api_detail_url", "image", "genres", "name", "publishers", "original_release_date", "reviews", "site_detail_url"]; $result = json_decode(json_encode($obj->game($this->_gameID, $fields)), true); $result = $result['results']; } catch (\Exception $e) { $result = false; } return $result; }