Example #1
0
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
Example #2
0
 def get_info(self, game_id, info_id):
     return Metacritic.get_info(info_id)
Example #3
0
 def search(self, query, *args, **kwargs):
     return Metacritic.search(query)