import requests


def target_prop_data(qID, label):
    """
    :param qID: Pharos ID for the gene target
    :param label: property of interest
    :return: info - JSON of the query results
    """

    url = "https://pharos.nih.gov/idg/api/v1/targets/{}/properties(label={})".format(qID, label)
    info = requests.get(url).json()
    return info