morningtrain/pipedrive-api

对Pipedrive API v1的完整原生PHP包装器

v1.0.0 2015-11-19 14:22 UTC

This package is auto-updated.

Last update: 2024-08-29 03:26:18 UTC


README

Software License

Pipedrive API的完整原生PHP包装器

安装

通过Composer

$ composer require morningtrain/pipedrive-api

用法

require 'vendor/autoload.php';
use MorningTrain\PipedriveApi\PipedriveApi;

define('PIPEDRIVE_API_KEY', 'YOUR-PIPEDRIVE-API-KEY');

$pipedrive_client = new PipedriveApi(PIPEDRIVE_API_KEY);

$result = $pipedrive_client->updateActivityType(1, [
	'name' => 'type_1',
	'icon_key' => 'task',
	'color' => 'red',
	'order_nr' => 1
    ]);

安全

如果您发现任何与安全相关的问题,请通过mail@morningtrain.dk发送电子邮件,而不是使用问题跟踪器。

致谢

许可证

GNU通用公共许可证v3.0。有关更多信息,请参阅许可证文件