Download the PHP package jakedewitt87/php-isdk-php7 without Composer
On this page you can find all versions of the php package jakedewitt87/php-isdk-php7. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jakedewitt87/php-isdk-php7
More information about jakedewitt87/php-isdk-php7
Files in jakedewitt87/php-isdk-php7
Package php-isdk-php7
Short Description The Unofficial Infusionsoft API PHP SDK for PHP 7.
License MIT
Homepage https://developer.infusionsoft.com
Informations about the package php-isdk-php7
PHP iSDK
Note: This PHP-iSDK is deprecated, and will be removed from Infusionsoft's public github on April, 30 2015. Please use infusionsoft-php instead.
This SDK allows developers to easily use the Infusionsoft API with PHP
Install Instructions
This SDK requires at least PHP 5.2
- Clone the repository to your system
- Copy the "src" folder (or its contents) to the folder that will hold the SDK
Configuration
There are two ways we can connect to the API.
-
First way is to use the src/conn.cfg.php configuration file
A. You will need your Application Name and Your API Key
- http://ug.infusionsoft.com/article/AA-00442/0/How-do-I-enable-the-Infusionsoft-API-and-generate-an-API-Key.html
B. In src/conn.cfg.php file you will need to replace the following:
-
We can pass in the Application Name and API Key directly into the cfgCon function
A. You will need your Application Name and Your API Key
Making Your First API Call
In the script you want to make the API call in you will need to do the following:
- We need to require the iSDK
- Next we need to create an object
- Next we need to create the connection
-
OR
-
- Next we will make our first API call using the ContactService.findByEmail method. This method returns contact information by an email address we send
- Finally we want to print the return information to the browser window
How to Use Logging
As of Version 1.8.3 the iSDK has the ability to log API calls to a CSV. By default logging is disabled.
To enable logging do the following:
- In the script you want to log the API Calls of add this after you create the object
- (Optional) You can set the location of the CSV. By default the csv is created in the same directory as isdk.php
Misc Functions
- infuDate() - formats your date string for use with the API. Has an optional parameter for doing UK date formats.
All versions of php-isdk-php7 with dependencies
ext-curl Version *