

def pins(url):
    'Return the number of times a given URL has been pinned in Pinterest.'
    endpoint = 'http://api.pinterest.com/v1/urls/count.json?url='
    return jsonapi(endpoint, endpoint, 'count')

dataset/ETHPy150Open miklevin/pipulate/common.py pins/VarMisuse@21/73 `url`->`endpoint`