andrew501983 / what-converts-php
WhatConverts API 的 PHP 接口。
1.0.3
2017-02-20 17:46 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: 6.*
Requires (Dev)
- phpunit/phpunit: ^6.0.6
- vlucas/phpdotenv: *
This package is not auto-updated.
Last update: 2024-09-28 20:45:55 UTC
README
在 https://www.whatconverts.com/api 的 WhatConverts API 的 PHP 接口
通过 Composer 安装
使用 Composer 安装最新版本。 composer require andrew501983/what-converts-php
使用方法
请查阅 https://www.whatconverts.com/api 上的 WhatConverts API 文档。功能分为 3 个资源:账户、线索和配置文件
WhatConverts PHP 实现了 WhatConvertsInterface,便于文档编写。
public function getAccounts(array $options);
public function getAllAccounts(array $options);
public function getAccount($account_id);
public function createAccount($account_name, $create_profile);
public function editAccount($account_id, $account_name);
public function deleteAccount($account_id);
public function getLeads(array $options);
public function getAllLeads(array $options);
public function getLead($lead_id);
public function createLead($profile_id, $lead_type, array $attributes);
public function editLead($lead_id, array $attributes);
public function getProfiles($account_id, array $options);
public function getAllProfiles($account_id, array $options);
public function getProfile($account_id, $profile_id);
public function createProfile($account_id, $profile_name);
public function editProfile($account_id, $profile_id, $profile_name);
public function deleteProfile($account_id, $profile_id);
贡献
欢迎在 GitHub 上提交错误报告和拉取请求 https://github.com/andrew501983/what-converts-php
许可
该软件包在 MIT 许可证 下作为开源软件提供。