Skip to main content

Light wrapper around Pipedrive API

Project description

python-pipedrive
================

Python library for interacting with the pipedrive.com API


This is being developed for my specific use so there's no guarantee I'll cover all of the aspects of the Pipedrive API. Feel free to add features though, I welcome pull requests.

All features should be supported though as this is just a lightweight wrapper around the API.


Usage:

Create a Pipedrive object, passing either the api key or your username and password as the parameters

from pipedrive import Pipedrive
pipedrive = Pipedrive(USERNAME, PASSSWORD)

or

from pipedrive import Pipedrive
pipedrive = Pipedrive(API_KEY)

The rest of the functions relate to the URL as specified in the [API Docs](https://app.pipedrive.com/docs/auth/login).

Examples:
1. To list the organizations (method = GET, path = organizations)
pipedrive.organizations({'method': 'GET'})
2. Add a New Deal
pipedrive.deals({
'method': 'POST',
'title': 'Big Sucker',
'value': 1000000,
'org_id': 2045,
'status': 'open',
})
3. Delete an Activity
pipedrive.activities({'method': 'DELETE', 'id': 6789})

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page