def get_game_information(self, nvapp): game_cover_path = self._set_up_path(os.path.join(self.cover_cache, nvapp.id)) response = ApiResponse() response.name = nvapp.title raw_box_art = self.nvhttp.get_box_art(nvapp.id) cover_path = self._dump_image_from_data(game_cover_path, nvapp.id, raw_box_art) response.posters.append(cover_path) return response
def get_game_information(self, nvapp): game_cover_path = self._set_up_path( os.path.join(self.cover_cache, nvapp.id)) response = ApiResponse() response.name = nvapp.title raw_box_art = self.nvhttp.get_box_art(nvapp.id) cover_path = self._dump_image_from_data(game_cover_path, nvapp.id, raw_box_art) response.posters.append(cover_path) return response