A minimalistic Python library for interacting with the Pipedrive.com API (https://developers.Pipedrive.com/v1) This is written for very specific use, however it should cover all endpoints and methods.
Note: Heavily inspired by https://github.com/jscott1989/python-Pipedrive, however this library depends on python-requests library.
from Pipedrive import Pipedrive
pd = Pipedrive(API_TOKEN)
persons = pd.persons.get()
person = pd.persons.get(id=1)
print person.name
print person.email
You can get raw JSON with person.data
person = pd.persons.post(data={'name':'John Doe',
'email':'[email protected]'})
person_id = person.id
deal = api.deals.post(data={'person_id':person_id,
'title':'Example'})
pd.persons.delete(id=3426)