GET deals based on filter


How to get deals based on filter ?

i use pipedrive-python-lib 1.1.0
with pipeline_filter = client.filters.get_filter(‘15’)
i get filter data but i don’t know how to use this to filter the deals ?

Ok i find the answer.

i add method to

def get_all_deals_with_filter(self, filter_id, **kwargs):
    url = 'deals?filter_id={}'.format(filter_id)
    return self._client._get(self._client.BASE_URL + url, **kwargs)

Glad you were able to find the answer @lukasz87 The GET/deals endpoint has an option to filter using filter_id