def get_player_id(jersey: tuple, players: dict) ->str:
    """
    Basically takes a players jersey - a.k.a his team, name, and number, and gets his player ID

    :param jersey: tuple of info
    :param players:
    :return:
    """
    for _, venue in players.items():
        for _, player in venue.items():
            if (player['number'] == jersey[1] or jersey[1] == '') and (
                player['team'] == jersey[0] or jersey[0] == '') and (player
                ['last_name'].upper() == jersey[2] or jersey[2] == ''):
                return player['id']
    print(jersey)
    pass
