Pipedrive Python
================
A Python library to interact with the Pipedrive REST API.
Other libs were available, but they tend to be very thing wrappers, basically json in and out.
While this works, as the integration grows the lack of structure and models will make using the API harder and take longer.
This lib aims to have rich types for all resources.
Design Goals
-------------
We are aiming at:
* Rich models and schema. All properties listed and full fledged when possible.
* Good test coverage, partly why models and resources are separated.
* Good hooks for logging and metrics.
Usage
-----
Sample usage:
```python
from pipedrive import PipedriveAPI
api = PipedriveAPI('your api token')
print api.deal.detail(200).user.email # someone@example.com
```
Creating an activity:
```python
from activity import Activity
activity = Activity(raw_data={'subject': "Do something", 'type': "Call me!"})
created_activity = api.activity.create(activity)
print created_activity.id
```
Current Status
--------------
The API is pretty big, and has tons of resources and each one has tons of fields.
We have to be pragmatic: we're only creating the models and resources for the objects we are currently using.
This means that right now very few entities are actually supported. It is, however, awfully easy to add new ones. See for example the activity.Activity model and activity.ActivityResource for a pointer.
TODO
----
Major points:
* Implement errors and normalized response for objects
* Implement metrics and logging callbacks
I needed this, so I made this.
Arthur Debert <arthur@loggi.com>Topic :: Software Development :: Libraries :: Python Modules
================
A Python library to interact with the Pipedrive REST API.
Other libs were available, but they tend to be very thing wrappers, basically json in and out.
While this works, as the integration grows the lack of structure and models will make using the API harder and take longer.
This lib aims to have rich types for all resources.
Design Goals
-------------
We are aiming at:
* Rich models and schema. All properties listed and full fledged when possible.
* Good test coverage, partly why models and resources are separated.
* Good hooks for logging and metrics.
Usage
-----
Sample usage:
```python
from pipedrive import PipedriveAPI
api = PipedriveAPI('your api token')
print api.deal.detail(200).user.email # someone@example.com
```
Creating an activity:
```python
from activity import Activity
activity = Activity(raw_data={'subject': "Do something", 'type': "Call me!"})
created_activity = api.activity.create(activity)
print created_activity.id
```
Current Status
--------------
The API is pretty big, and has tons of resources and each one has tons of fields.
We have to be pragmatic: we're only creating the models and resources for the objects we are currently using.
This means that right now very few entities are actually supported. It is, however, awfully easy to add new ones. See for example the activity.Activity model and activity.ActivityResource for a pointer.
TODO
----
Major points:
* Implement errors and normalized response for objects
* Implement metrics and logging callbacks
I needed this, so I made this.
Arthur Debert <arthur@loggi.com>Topic :: Software Development :: Libraries :: Python Modules
Metadata
Release files for pipedrive-py 0.3.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pipedrive-py-0.3.33.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pipedrive_py-0.3.33-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 24.9 kB
Release files / pipedrive-py-0.3.33.tar.gz
| Download URL | pipedrive-py-0.3.33.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07c861796d97b2bfa283f52004bee5f65e925b017f662825cce4c8bcee204fdd
|
|
BLAKE2b-256 checksum How to use checksums |
8b5629bba7b4210d2ecbb078c967a95a22d8acc975e39cb819d08271df891083
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pipedrive_py-0.3.33-py2-none-any.whl
| Download URL | pipedrive_py-0.3.33-py2-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
75a9a1bba513d20b4d53fbca8fb98ec8a1d89b80b9e76477724302eb17c1a0c1
|
|
BLAKE2b-256 checksum How to use checksums |
2a98754bd0dce96f786e23cd776ce1300b68086cb759fe1b75778a6355e99d68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |