def match_to_metacritic(title, system): title_norm = normalize_game_title(title) system_norm = normalize_system(system) results = Metacritic.search(title, "game") for result in results: if normalize_system(result.system) == system_norm: if normalize_game_title(result.title) == title_norm: return result.id return None
def get_info(self, game_id, info_id): return Metacritic.get_info(info_id)
def search(self, query, *args, **kwargs): return Metacritic.search(query)