Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
5a746ec
Merge pull request #2 from shanness/master
yagss Oct 18, 2018
f2795b7
Update README.md
gustav0 Oct 18, 2018
2593a9d
Merge pull request #3 from GearPlug/add-contributing
gustav0 Oct 18, 2018
2a0e160
Update LICENSE
ingmferrer Nov 9, 2018
0a5b15e
changes in exchange_code and refresh_token methods in the way that th…
yagss Nov 29, 2018
cf87c23
minimal fix in method refresh token
yagss Nov 29, 2018
8b48eb7
add oauth api-proxy base url
cortop Jan 9, 2019
8247bec
Merge pull request #5 from cortop/master
yagss Jul 23, 2019
dabc99c
Adds support to filters endpoints
yagss Jul 23, 2019
5fcb495
Rework library
ingmferrer Sep 5, 2019
7812ece
Add field endpoints
ingmferrer Sep 6, 2019
c11d7a5
Updates README
ingmferrer Sep 6, 2019
cb6f7ff
Merge pull request #10 from GearPlug/development
ingmferrer Sep 6, 2019
b919ef0
Adds support to API token
ingmferrer Sep 16, 2019
d6e486e
Merge pull request #12 from GearPlug/development
ingmferrer Sep 16, 2019
674f6e7
Add filter to get_all_deals
lukasz8734 Oct 9, 2019
f07c5db
Updated README.md to fix a typo
mtShaikh Oct 26, 2019
9a1bdfe
Merge pull request #16 from mtShaikh/master
ingmferrer Nov 25, 2019
311efd9
Merge pull request #14 from Lukasz87/add_filter_to_all_deals
ingmferrer Nov 25, 2019
4a09563
Bump ver. 1.1.1
ingmferrer Nov 25, 2019
f6cf7be
Merge pull request #17 from GearPlug/development
ingmferrer Nov 25, 2019
60d7a2a
Adds add_product_to_deal method
ingmferrer Dec 23, 2019
eb4894c
Bump ver 1.1.2
ingmferrer Dec 23, 2019
08839fe
Add stages api endpoints
fsuste Mar 2, 2020
d5e5c74
Merge pull request #18 from fsuste/feature/add_stages
ingmferrer Mar 10, 2020
4ff814b
Bump ver. 1.1.3
ingmferrer Mar 10, 2020
c5ef99d
Add Organizations.find_organization_by_name
dfirst Mar 12, 2020
ce6e805
Adds params to GET calls and adds to relevant wrapper methods
mrrobby Mar 24, 2020
da5171f
Add link to pipedrive homepage
mik-laj Apr 1, 2020
3c69dd5
Merge pull request #19 from dfirst/master
ingmferrer May 22, 2020
c85680e
Merge pull request #21 from mik-laj/patch-1
ingmferrer May 22, 2020
d468501
Merge branch 'feature/add-params-for-GET-and-Orgs' of git://github.co…
ingmferrer May 22, 2020
b127910
Merge branch 'astronomer-feature/add-params-for-GET-and-Orgs'
ingmferrer May 22, 2020
8b9ccbc
Bump ver 1.1.4
ingmferrer May 22, 2020
8ed138f
Add new /search API endpoints
arouanet Mar 8, 2021
cc086df
Update documentation with new endpoints
arouanet Mar 8, 2021
2396c46
Remove deprecated /find endpoints
arouanet Mar 8, 2021
599e9a5
fix delete_person bug
lucasnsdantas Apr 3, 2021
9518b8d
Update persons.py
Jul 25, 2021
936e9d2
Update persons.py
Jul 25, 2021
3df923d
Update persons.py
Jul 26, 2021
3adc6de
Added pull requests
Jul 26, 2021
0cffb28
Added support for Leads, Added itemSearch
Sep 8, 2021
c603c8f
Fixed Params
Sep 8, 2021
47b6e62
Return params=params
Sep 8, 2021
3f9b910
fix: file format and default BASE_URL
Dec 16, 2021
4cfcee3
fix: file format and webhook endpoints
Dec 16, 2021
d1433a5
Merge pull request #31 from DeeKayOg/Search-persons
Dec 17, 2021
2466f01
Merge pull request #30 from lucasnsdantas/bug-fix-persons
Dec 17, 2021
7da9370
Merge branch 'master' into search-api-endpoints
Dec 17, 2021
406fba6
Merge pull request #29 from arouanet/search-api-endpoints
Dec 17, 2021
4be3562
fix: get_hooks_subscription endpoint
Dec 22, 2021
e2bd1f7
fix: update setup version
Dec 22, 2021
fe1f62c
Merge pull request #33 from GearPlug/fix/webhooks
Dec 22, 2021
434c682
Get stages back
julienbordet Feb 3, 2022
16cfeca
add Subscriptions interface for Pipedrive
julienbordet Feb 3, 2022
aef12e4
Add deal/{id}/flow endpoint
sbakiu Mar 23, 2022
150585f
Add support for `organizations/:id/persons` call
teal-bauer Apr 15, 2022
62d5730
Added PATCH client method, fix Lead update method
Sep 8, 2022
4443730
Merge pull request #36 from julienbordet/dev-stages-back
ingmferrer Nov 23, 2022
c27f013
Merge pull request #37 from julienbordet/dev-subscriptions
ingmferrer Nov 23, 2022
4e1c72c
Merge pull request #39 from sbakiu/master
ingmferrer Nov 23, 2022
3f3f5e7
Merge pull request #40 from teal-pb/patch-1
ingmferrer Nov 23, 2022
161ea51
Merge pull request #42 from AndrejGorodnij/master
ingmferrer Nov 23, 2022
caf364a
fix: formatting; bump version
ingmferrer Nov 23, 2022
ea17006
get_persons_activities() added to function list
polux-baptista Jan 9, 2023
4abed62
Merge pull request #46 from Boty-Tech/master
ingmferrer Jan 30, 2023
273b61b
bump ver
ingmferrer Jan 30, 2023
dd3979b
feat: pyproject.toml
ingmferrer Mar 27, 2023
2d44053
Update README.md
runa Jun 23, 2023
ff06d40
Merge pull request #48 from runa/patch-1
ingmferrer Jun 23, 2023
0e3c7f4
Add search_leads
pokidyshev Sep 27, 2023
396af04
Merge pull request #50 from pokidyshev/master
juanrios15 Sep 29, 2023
fdd447e
readme leads and fixes
juanrios15 Sep 29, 2023
c7ab463
Merge pull request #51 from GearPlug/update/leads
damanrique Sep 29, 2023
d190673
Add add_follower_to_person
Oct 26, 2023
f25b6f2
Changed single to double quotes
Oct 26, 2023
ffd556a
Add add_follower_to_organization
Oct 26, 2023
8e84b67
Merge pull request #53 from 0xApeToshi/add-follower-person
damanrique Oct 26, 2023
1670d5f
Merge pull request #54 from 0xApeToshi/add-follower-organization
damanrique Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
695 changes: 21 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

490 changes: 359 additions & 131 deletions README.md

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions pipedrive/activities.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
class Activities(object):
def __init__(self, client):
self._client = client

def get_activity(self, activity_id, **kwargs):
url = "activities/{}".format(activity_id)
return self._client._get(self._client.BASE_URL + url, **kwargs)

def get_all_activities(self, params=None, **kwargs):
url = "activities"
return self._client._get(self._client.BASE_URL + url, params=params, **kwargs)

def create_activity(self, data, **kwargs):
url = "activities"
return self._client._post(self._client.BASE_URL + url, json=data, **kwargs)

def update_activity(self, activity_id, data, **kwargs):
url = "activities/{}".format(activity_id)
return self._client._put(self._client.BASE_URL + url, json=data, **kwargs)

def delete_activity(self, activity_id, **kwargs):
url = "activities/{}".format(activity_id)
return self._client._delete(self._client.BASE_URL + url, **kwargs)

def get_activity_fields(self, params=None, **kwargs):
url = "activityFields"
return self._client._get(self._client.BASE_URL + url, params=params, **kwargs)
Loading