{ "info": { "author": "Jonathan Scott", "author_email": "jonathanscott1989@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "python-pipedrive\n================\n\nPython library for interacting with the pipedrive.com API\n\n\nThis 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.\n\nAll features should be supported though as this is just a lightweight wrapper around the API.\n\n\nUsage:\n\nCreate a Pipedrive object, passing either the api key or your username and password as the parameters\n\n```python\nfrom pipedrive import Pipedrive\npipedrive = Pipedrive(USERNAME, PASSSWORD)\n```\n\nor\n\n```python\nfrom pipedrive import Pipedrive\npipedrive = Pipedrive(API_KEY)\n```\n\nThe rest of the functions relate to the URL as specified in the [API Docs](https://developers.pipedrive.com/v1).\n\nDo yourself a favor and try a few simple requests and look the raw responses to know what data Pipedrive's API gives you. This will aid in knowing how to deal with your responses in python code. For example, to find an organzation:\n\n \n curl 'https://api.pipedrive.com/v1/organizations/find?api_token=abcd1234abcd1234abcd1234abcd1234abcd1234&term=microsoft'\n\nwhich spits out something like:\n\n {\"success\":true,\"data\":[{\"id\":215,\"name\":\"Microsoft Main Organization\",\"visible_to\":\"3\"},{\"id\":360,\"name\":\"Microsoft Subdivision Company\",\"visible_to\":\"3\"}],\"additional_data\":{\"pagination\":{\"start\":0,\"limit\":100,\"more_items_in_collection\":false}}}\n\n\nThe two things to note are the HTTP Method, and the path:\n\nExamples:\n\n1. List the organizations\n ```python\n pipedrive.organizations(method='GET')\n ```\n\n2. Add a New Deal\n ```python\n pipedrive.deals({\n 'title': 'Big Sucker',\n 'value': 1000000,\n 'org_id': 2045,\n 'status': 'open'\n }, method='POST')\n ```\n\n3. Delete an Activity\n ```python\n pipedrive.activities({'id': 6789}, method='DELETE')\n ```\n\n4. Find a person, and use the search results. The variable ```term``` is the search term that has been passed in.\n ```python\n import json\n ...\n response = pipedrive.persons_find({'term':term}, method='GET')\n results = response['data']\n suggestions = []\n if results != None:\n for result in results:\n suggestions.append({'value': result['name'], 'data': result})\n json_response = {'query': term, 'suggestions': suggestions}\n data = json.dumps(json_response)\n\n ```\n And return ```data``` to some kind of javascript search result autocomplete thing (this example is formatted for devbridge's simple and easy-to-use [jquery.autocomplete.js](https://github.com/devbridge/jQuery-Autocomplete))", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/jscott1989/python-pipedrive/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/jscott1989/python-pipedrive", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "python-pipedrive", "package_url": "https://pypi.org/project/python-pipedrive/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/python-pipedrive/", "project_urls": { "Download": "http://github.com/jscott1989/python-pipedrive/downloads", "Homepage": "http://github.com/jscott1989/python-pipedrive" }, "release_url": "https://pypi.org/project/python-pipedrive/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "Light wrapper around Pipedrive API", "version": "0.4.0" }, "last_serial": 2966025, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "1f38477ca871c9c7dfa042996833d275", "sha256": "fcd1bda17f3ba0537563ef03d6e64d2302fa62f466ca226f377f35df96c0d543" }, "downloads": -1, "filename": "python-pipedrive-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1f38477ca871c9c7dfa042996833d275", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2134, "upload_time": "2012-07-13T15:29:59", "url": "https://files.pythonhosted.org/packages/f0/c3/0b3e408ab2f7c8d3eff102b68178b3e3b63edc25bfec601c77bd433ddfe1/python-pipedrive-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "72073197be50c0cf7ea5459558571032", "sha256": "113640b28e6e1df0722149aebd4b59eba26f9bb39a90ce88b680dcbf623e14bf" }, "downloads": -1, "filename": "python-pipedrive-0.1.1.tar.gz", "has_sig": false, "md5_digest": "72073197be50c0cf7ea5459558571032", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2207, "upload_time": "2012-07-13T15:32:21", "url": "https://files.pythonhosted.org/packages/1c/a6/92e953e6e8f5ac039e1c4c78a40aa1282d65d6de73a572b73f5804ae283a/python-pipedrive-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "68a79ec94cc9acd6c3f1946d9d28e8b5", "sha256": "f65047fb492291f5c1063356da47e4c233a1b6104c41b214bac8de84ea88773f" }, "downloads": -1, "filename": "python-pipedrive-0.1.2.tar.gz", "has_sig": false, "md5_digest": "68a79ec94cc9acd6c3f1946d9d28e8b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2218, "upload_time": "2012-07-13T16:50:36", "url": "https://files.pythonhosted.org/packages/84/ae/016f5786b96f19b87efb92a4597ed8d2d29f7efca23ae607c7da774277f4/python-pipedrive-0.1.2.tar.gz" } ], "0.2": [], "0.3": [ { "comment_text": "", "digests": { "md5": "c59ccd978251b94a411a0328a22d9ecf", "sha256": "e50f354725358eae3a868a16ac05e605bad93d2bb5985025135810216d7db740" }, "downloads": -1, "filename": "python-pipedrive-0.3.tar.gz", "has_sig": false, "md5_digest": "c59ccd978251b94a411a0328a22d9ecf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3151, "upload_time": "2016-07-29T20:12:23", "url": "https://files.pythonhosted.org/packages/06/5b/ead7b71a7983ad32820caad5928a13738dbb80367a7367c0d5b79f0e9cf1/python-pipedrive-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7f36ab70ed9d7129c3457797e630555b", "sha256": "cd2dda4815d46fb12210a868a27cbed2d76c3a449fae77e1ae18900f60d6df69" }, "downloads": -1, "filename": "python-pipedrive-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7f36ab70ed9d7129c3457797e630555b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3363, "upload_time": "2017-01-19T19:58:58", "url": "https://files.pythonhosted.org/packages/40/8e/c6fab3d24efab830711a7a1eb59015a74ca8ba8690d7daa404c0f1ddcf63/python-pipedrive-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "5bae640ff7ce286a15ab61d64f041249", "sha256": "f492269c73b1de6ba459a907bb2b0840e83b77db861cc125effc2e81a88f1839" }, "downloads": -1, "filename": "python-pipedrive-0.4.0.tar.gz", "has_sig": false, "md5_digest": "5bae640ff7ce286a15ab61d64f041249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3456, "upload_time": "2017-06-21T20:38:15", "url": "https://files.pythonhosted.org/packages/85/cb/4c46bff434575d64524354f36c914a69064a365767cf83c8301d83431896/python-pipedrive-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bae640ff7ce286a15ab61d64f041249", "sha256": "f492269c73b1de6ba459a907bb2b0840e83b77db861cc125effc2e81a88f1839" }, "downloads": -1, "filename": "python-pipedrive-0.4.0.tar.gz", "has_sig": false, "md5_digest": "5bae640ff7ce286a15ab61d64f041249", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3456, "upload_time": "2017-06-21T20:38:15", "url": "https://files.pythonhosted.org/packages/85/cb/4c46bff434575d64524354f36c914a69064a365767cf83c8301d83431896/python-pipedrive-0.4.0.tar.gz" } ] }