WhatConverts PHP
A PHP interface for the WhatConverts API at https://www.whatconverts.com/api, (*1)
, (*2)
Installation via Composer
Install the latest version using Composer.
composer require andrew501983/what-converts-php, (*3)
Usage
Please peruse the WhatConverts API documentation at https://www.whatconverts.com/api
Functionality is split into 3 resources: Accounts, Leads, and Profiles, (*4)
WhatConverts PHP implements a WhatConvertsInterface which allows for easy documentation., (*5)
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);
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/andrew501983/what-converts-php, (*6)
License
The package is available as open source under the terms of the MIT License., (*7)