https://github.com/zakirullin/pipedrive
Pipedrive API client
https://github.com/zakirullin/pipedrive
api api-client api-wrapper crm pipedrive
Last synced: 10 months ago
JSON representation
Pipedrive API client
- Host: GitHub
- URL: https://github.com/zakirullin/pipedrive
- Owner: zakirullin
- License: mit
- Created: 2017-04-04T08:38:01.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T12:52:08.000Z (about 9 years ago)
- Last Synced: 2025-03-02T23:15:00.052Z (about 1 year ago)
- Topics: api, api-client, api-wrapper, crm, pipedrive
- Language: PHP
- Size: 67.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# API client for [Pipedrive](https://pipedrive.com)
# Installation
You can install the [package](https://packagist.org/packages/zakirullin/pipedrive) via ```composer require``` command:
```$ composer require zakirullin/pipedrive```
# Usage
```php
organizations->findOne(1);
// Create
$id = $pipedrive->notes->create(['content' => 'Note']);
// Update
$pipedrive->persons->find(1)->update(['name' => 'New name']);
// Find person with phone '777' for organization with name 'Github'
$person = $pipedrive->organizations->find(['name' => 'Github'])->persons->findAll(['phone' => '777']);
// Update all notes for matched organizations whole name is 'Github'
$notes = $pipedrive->organizations->find(['name' => 'Github'])->notes;
foreach ($notes as $note) {
$note->content = 'Good news!';
$this->pipedrive->notes->update($note);
}
```
# API Docs can be found [here](https://developers.pipedrive.com/v1)