用python编写的pipedrive的api包装器
pipedrive-python-lib的Python项目详细描述
#pipedrive python
pypedrive的pipedrive api包装器是用python编写的。请这样做:
```
来自pipedrive.client import client
client=client(api_base_url='https://company domain.pipedrive.com/')
````
-如果相反,您将使用它,请在ma中发送"pipedrive company domain"、"client_id"、"client secret"和参数"oauth=true"例如:
```
来自pipedrive.client import client
client=client(api_base_url='https://companydomain.pipedrive.com/','client_id','client_secret',oauth=true)
````
令牌)
`````
`````
url=client.get_auth_ri("redirect_url","可选-state")
`````
````````````````````````````````````
``````````````````````
```````````````````
`````````````````````````````````````````
/>token=client.refresh\u token('refresh token'refresh token'refresh token')
```
获取最近的更改
`
token=client.get最近的更改(自128; timestamp="yyyyy-mm-dd hh:mm:ss")
```
`
` `
` `
` ` `` ` ``
>
啊!/交易
```` ` `
`` ` ` ` ` ` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` ` `
`
create_deal=client.create_deal(title="")
```
#### Update deal
```
update_deal = client.update_deal(deal_id="")
```
#### Delete deal
```
delete_deal = client.delete_deal(deal_id="")
```
#### Duplicate deal
```
duplicate_deal = client.duplicate_deal(deal_id="")
```
#### Get details of a deal
```
details_deal = client.get_deal_details(deal_id="")
```
#### Find deals by name
```
find_deal = client.get_deals_by_name(term="")
```
#### Get followers of a deal
```
followers_deal = client.get_deal_followers(dea
````
`````
``````
``在交易中添加一个跟随者
```````
````在交易中添加一个跟随者,在交易中添加一个跟随者,用户id```>``````
`
```
``从交易中删除一个跟随者,从交易中删除一个跟随者
````````
`````````
` `````````````==>删除一个跟随者,从交易中删除一个跟随者,从交易中删除一个跟随者=client.delete_follower_to_deal(deal_id=,follower_id=)
````
<
```` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `br/>```
从一笔交易中
````
delete_participant_participant_-to_deal(deal_id=",participant_id=")
````
````````
获取邮件关联有交易就有交易
````
有交易就有交易,就有交易就有交易,就有交易就有交易邮件(deal_id="id=")
`````
```````
//` ` ` `有交易就有交易,就有交易就有交易,就有交易就有交易,就有交易就有交易,就有交易产品(deal_id="id=")
`````
>
`有交易就有交易,就有交易就有交易,就有交易产品(deal id="id=")
``````````
>
<如果你需要一个特定的便笺,发送便笺id,如果你不只是调用方法
`````
`` ` ` `
` ` ` `
` ` ` ` `
` ` ` ` ` ` ` ` ` ` `
``
add_note=client.create_note(内容="",org廑id=)
```
````
``
update廑note=client.update廑说明(注:id=,content=)
```
``
/组织
####添加组织
`````
add-organization=client.create_organization(name=")
````
=客户.delete_organization(data_id="")
````
人员部分,请参阅API文档:https://developers.pipedrive.com/docs/api/v1/!/人们
` ``` ` ` ` `如果你需要发送人的详细信息,如果你不只是调用方法
`` ` ` ` ` `
` ` ` ` ` ` `
/>```
查找ersons = client.get_persons_by_name(term="")
```
#### Create person
```
add_persons = client.create_person(name="")
```
#### Update person
```
update_persons = client.update_person(data_id="", name="")
```
#### Delete person
```
delete_persons=client.delete个人(data\u id=")
````
```与个人相关的交易
``````
`````
``获取个人交易=client.获取个人交易(personid=")
````
```````````
` `````
` ` ``````````>
`>
`产品部分,见api文档:!/产品
35
`` `` `
`` ` ` ` ` ` `
` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` `
``
find_product=client.get_product_按用户名称(term=)
``````
````````````
```````
````````````
`````````````````
``````````````````````","name")
````
````
delete_product=client.delete_product(product_id="id=")
````
35
```````
`````````>`````
/>````````````````````
/>```````````````.com网站/文档/API/v1/!/活动
r/>````
add_activity=client.create_activity(subject=,type=")
````
` ` `;更新活动
````` `
/>edit_activity=client.update_activity(activivity_id=")
``````` ` `
` ` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` ` `
` ` ` ` ` `;br/>` ` ` ` ` `.删除活动(活动id=)
````
webhook部分,请参阅api文档:https://developers.pipedrive.com/docs/api/v1/!/webhooks
<
``````
````````````
get_hooks=client.get_ho钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩/>
删除webhook=client.delete_hook_subscription(hook_id=)
````
用户部分,请参阅API文档:https://developers.pipedrive.com/docs/api/v1/!/用户
er_id=)
````
r使用新的[问题](https://github.com/gearplug/pipedrive python/issues)建议新功能。
分叉(https://github.com/gearplug/pipedrive-python)
2.创建您的功能分支(git checkout-b my new feature)
3。提交您的更改(git commit-am'添加我的新功能')
4。推到分支(git push origin我的新功能)
5。创建新的拉取请求
pypedrive的pipedrive api包装器是用python编写的。请这样做:
```
来自pipedrive.client import client
client=client(api_base_url='https://company domain.pipedrive.com/')
````
-如果相反,您将使用它,请在ma中发送"pipedrive company domain"、"client_id"、"client secret"和参数"oauth=true"例如:
```
来自pipedrive.client import client
client=client(api_base_url='https://companydomain.pipedrive.com/','client_id','client_secret',oauth=true)
````
令牌)
`````
`````
url=client.get_auth_ri("redirect_url","可选-state")
`````
````````````````````````````````````
``````````````````````
```````````````````
`````````````````````````````````````````
/>token=client.refresh\u token('refresh token'refresh token'refresh token')
```
获取最近的更改
`
token=client.get最近的更改(自128; timestamp="yyyyy-mm-dd hh:mm:ss")
```
`
` `
` `
` ` `` ` ``
>
啊!/交易
```` ` `
`` ` ` ` ` ` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` ` `
`
create_deal=client.create_deal(title="")
```
#### Update deal
```
update_deal = client.update_deal(deal_id="")
```
#### Delete deal
```
delete_deal = client.delete_deal(deal_id="")
```
#### Duplicate deal
```
duplicate_deal = client.duplicate_deal(deal_id="")
```
#### Get details of a deal
```
details_deal = client.get_deal_details(deal_id="")
```
#### Find deals by name
```
find_deal = client.get_deals_by_name(term="")
```
#### Get followers of a deal
```
followers_deal = client.get_deal_followers(dea
````
`````
``````
``在交易中添加一个跟随者
```````
````在交易中添加一个跟随者,在交易中添加一个跟随者,用户id```>``````
`
```
``从交易中删除一个跟随者,从交易中删除一个跟随者
````````
`````````
` `````````````==>删除一个跟随者,从交易中删除一个跟随者,从交易中删除一个跟随者=client.delete_follower_to_deal(deal_id=,follower_id=)
````
<
```` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `br/>```
从一笔交易中
````
delete_participant_participant_-to_deal(deal_id=",participant_id=")
````
````````
获取邮件关联有交易就有交易
````
有交易就有交易,就有交易就有交易,就有交易就有交易邮件(deal_id="id=")
`````
```````
//` ` ` `有交易就有交易,就有交易就有交易,就有交易就有交易,就有交易就有交易,就有交易产品(deal_id="id=")
`````
>
`有交易就有交易,就有交易就有交易,就有交易产品(deal id="id=")
``````````
>
<如果你需要一个特定的便笺,发送便笺id,如果你不只是调用方法
`````
`` ` ` `
` ` ` `
` ` ` ` `
` ` ` ` ` ` ` ` ` ` `
``
add_note=client.create_note(内容="",org廑id=)
```
````
``
update廑note=client.update廑说明(注:id=,content=)
```
``
/组织
####添加组织
`````
add-organization=client.create_organization(name=")
````
=客户.delete_organization(data_id="")
````
人员部分,请参阅API文档:https://developers.pipedrive.com/docs/api/v1/!/人们
` ``` ` ` ` `如果你需要发送人的详细信息,如果你不只是调用方法
`` ` ` ` ` `
` ` ` ` ` ` `
/>```
查找ersons = client.get_persons_by_name(term="")
```
#### Create person
```
add_persons = client.create_person(name="")
```
#### Update person
```
update_persons = client.update_person(data_id="", name="")
```
#### Delete person
```
delete_persons=client.delete个人(data\u id=")
````
```与个人相关的交易
``````
`````
``获取个人交易=client.获取个人交易(personid=")
````
```````````
` `````
` ` ``````````>
`>
`产品部分,见api文档:!/产品
35
`` `` `
`` ` ` ` ` ` `
` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` `
``
find_product=client.get_product_按用户名称(term=)
``````
````````````
```````
````````````
`````````````````
``````````````````````","name")
````
````
delete_product=client.delete_product(product_id="id=")
````
35
```````
`````````>`````
/>````````````````````
/>```````````````.com网站/文档/API/v1/!/活动
r/>````
add_activity=client.create_activity(subject=,type=")
````
` ` `;更新活动
````` `
/>edit_activity=client.update_activity(activivity_id=")
``````` ` `
` ` ` ` `
` ` ` ` ` `
` ` ` ` ` ` ` ` `
` ` ` ` ` `;br/>` ` ` ` ` `.删除活动(活动id=)
````
webhook部分,请参阅api文档:https://developers.pipedrive.com/docs/api/v1/!/webhooks
<
``````
````````````
get_hooks=client.get_ho钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩钩/>
删除webhook=client.delete_hook_subscription(hook_id=)
````
用户部分,请参阅API文档:https://developers.pipedrive.com/docs/api/v1/!/用户
er_id=)
````
r使用新的[问题](https://github.com/gearplug/pipedrive python/issues)建议新功能。
分叉(https://github.com/gearplug/pipedrive-python)
2.创建您的功能分支(git checkout-b my new feature)
3。提交您的更改(git commit-am'添加我的新功能')
4。推到分支(git push origin我的新功能)
5。创建新的拉取请求