def match_to_gametrailers(title, system): title_norm = normalize_game_title(title) system_norm = normalize_system(system) results = GT.search(title) 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 GT.get_info(info_id, MyGame.get(game_id).system)
def search(self, query, *args, **kwargs): return GT.search(query)