GearPlug / pipedrive-python

Pipedrive wrapper written in Python
MIT License
50 stars 61 forks source link

Passed the **kwargs, getting error #22

Closed ShubhamAmane8394 closed 1 year ago

ShubhamAmane8394 commented 4 years ago

image

ingmferrer commented 4 years ago

Hello, it seems like you are passing a dict, not kwargs.

To do so, you need to pass like this:

my_kwargs = {'limit': 400}

get_all_deals = client.deals.get_all_deals(**my_kwargs) OR get_all_deals = client.deals.get_all_deals(limit = 400)

RafaelGCruvinel commented 4 years ago

Try this: client.deals.get_all_deals(params={"limit":"400"})