Skip to content

Conversation

@shanness
Copy link

Thanks for the easy to work with library!

This commit adds get_pipelines and get_pipeline_deals
My motivation for this is so I can close rotten deals.

deals = client.get_pipeline_deals(2)
for deal in deals["data"]:
    if (deal["rotten_time"] and deal["status"] == "open"):
        print(deal["rotten_time"],deal["status"])

@yagss yagss merged commit 5a746ec into GearPlug:master Oct 18, 2018
@yagss
Copy link
Contributor

yagss commented Oct 18, 2018

Hi there, glad to me that you use and contribute in this library, regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants