import requests


def get_recent_kills(sysid):
    """
    Retrieves recent metrics for specified system in list format for ease of parsing
    :param sysid:  the integer value ID of the system to be checked
    :return: List of npc_kills, pod_kills, ship_kills for the specified system.
    """
    interaction_list = []
    base_url = (
        "https://esi.evetech.net/latest/universe/system_kills/?datasource=tranquility"
    )
    ret_obj = requests.get(base_url)
    ret_json = ret_obj.json()
    for i in ret_json:
        if i["system_id"] == sysid:
            interaction_list.append(i["npc_kills"])
            interaction_list.append(i["pod_kills"])
            interaction_list.append(i["ship_kills"])
    return interaction_list