Skip to content

sandeepbhaskar/python-pipedrive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

The two things to note are the HTTP Method, and the path:

Examples:

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

About

Python API for interacting with the pipedrive.com API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published