Download the PHP package versium/reach-api-php-sdk without Composer
On this page you can find all versions of the php package versium/reach-api-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download versium/reach-api-php-sdk
More information about versium/reach-api-php-sdk
Files in versium/reach-api-php-sdk
Package reach-api-php-sdk
Short Description A PHP client library for accessing the Versium REACH APIs.
License BSD-3-Clause
Informations about the package reach-api-php-sdk
Versium REACH API Software Development Kit (SDK)
A simplified PHP interface for accessing the Versium Reach APIs
Installation
From the root of your project, use composer to install the SDK from packagist.
Usage
1) Use ReachClient
2) Create a ReachClient
instance, with your API Key, an optional callback function for logging, and an optional queries-per-second rate limit.
Note: remember to update the $qps value if Versium customer services increases your rate limit.
3) For adding data to a set of inputs, use the append
function. This function returns a Generator
that yields arrays containing API responses. Check the API documentation for which data tools and output types are available.
4) For retrieving a list of records, use the listgen
function. This function returns a single APIResponse
object. This object contains the getRecordsFunc property for iterating through the returned records. Check the API documentation for which data tools and output types are available.
Returned Results
Both the append
and listgen
functions return one or more APIResponse
objects. See the comments in the class for descriptions of its properties.
Things to keep in mind
- The default rate limit for Reach APIs is 20 queries per second
- You must have a provisioned API key for this function to work. If you are unsure where to find your API key, look at our API key documentation
All versions of reach-api-php-sdk with dependencies
ext-curl Version *
ext-json Version *