Download the PHP package andrew501983/what-converts-php without Composer
On this page you can find all versions of the php package andrew501983/what-converts-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andrew501983/what-converts-php
More information about andrew501983/what-converts-php
Files in andrew501983/what-converts-php
Package what-converts-php
Short Description A PHP interface for the WhatConverts API.
License MIT
Informations about the package what-converts-php
WhatConverts PHP
A PHP interface for the WhatConverts API at https://www.whatconverts.com/api
Installation via Composer
Install the latest version using Composer. composer require andrew501983/what-converts-php
Usage
Please peruse the WhatConverts API documentation at https://www.whatconverts.com/api Functionality is split into 3 resources: Accounts, Leads, and Profiles
WhatConverts PHP implements a WhatConvertsInterface which allows for easy documentation.
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
License
The package is available as open source under the terms of the MIT License.