Download the PHP package tapfiliate/sdk-php without Composer
On this page you can find all versions of the php package tapfiliate/sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download tapfiliate/sdk-php
More information about tapfiliate/sdk-php
Files in tapfiliate/sdk-php
Download tapfiliate/sdk-php
More information about tapfiliate/sdk-php
Files in tapfiliate/sdk-php
Please rate this library. Is it a good library?
Informations about the package sdk-php
Tapfiliate PHP SDK
A PHP wrapper around the Tapfiliate API
Install
Install http://getcomposer.org/ and run the following command:
PHP SDK Configuration
To use SDK you need:
- Configure an ApiClient
- Configure handler which will perform an action
How to configure an ApiClient?
You just need to fill in the required arguments
How to get an API key?
- Go to Tapfiliate platform.
- Login to your publisher account.
- Click on your account image.
- Then choose
- And copy the value from text field
How to get a Tapfiliate host?
By default, it's set to: https://api.tapfiliate.com
But you can modify host by adding your own data to constructor
How to configure a handler?
Example of ClicksHandler configuration:
Example of click creation:
After executing action it will return a Clicks object filled with API response.
Example of response:
If something goes wrong will throw an exception.
All versions of sdk-php with dependencies
PHP Build Version
Package Version
The package tapfiliate/sdk-php contains the following files
Loading the files please wait ....