https://github.com/chi-teck/zoho-crm-connector
https://github.com/chi-teck/zoho-crm-connector
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chi-teck/zoho-crm-connector
- Owner: Chi-teck
- License: gpl-2.0
- Created: 2022-10-03T05:03:20.000Z (about 3 years ago)
- Default Branch: 1.x
- Last Pushed: 2022-10-07T13:44:51.000Z (about 3 years ago)
- Last Synced: 2025-01-29T23:12:16.270Z (8 months ago)
- Language: PHP
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Zoho CRM connector
A simple connector to Zoho CRM API v3.
Unlike official Zoho SDK this connector does not provide helpers for each API endpoint.
Essentially this is just a thin wrapper around Guzzle HTTP client that authorizes requests
to Zoho API.
Note that you need to handle connection errors yourself.## System Requirements
PHP 8.1 or later## Installation
```
composer require chi-teck/zoho-api-connector
```[Register](https://www.zoho.com/crm/developer/docs/api/v3/register-client.html) your application in Zoho Developer Console.
The way you obtain auth token (grant code) depends on the application type. Refer to [Authorization Request guide](https://www.zoho.com/crm/developer/docs/api/v3/auth-request.html) for details.## Usage
```php
get('Leads?fields=Last_Name&per_page=5');
print_r($response->decode());// Posting data.
$data = [
[
"First_Name" => "Mickey",
"Last_Name" => "Mouse",
],
];
$response = $connector->post('Leads', ['data' => $data]);
print_r($response->decode());
```## License
GNU General Public License, version 2 or later.