

def jsonapi(endpoint, url, jkey):
    'Take a JSON API endpoint, a URL as a parameter and key name to return value pair.'
    thecall = (endpoint + url)
    respobj = requests.get(thecall, timeout=5)
    adict = respobj.json()
    return walkdict(adict, jkey)

dataset/ETHPy150Open miklevin/pipulate/common.py jsonapi/original