Download the PHP package wildlink/wildlink-api-php without Composer

On this page you can find all versions of the php package wildlink/wildlink-api-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wildlink-api-php

wildlink-api-php

PHP client for working with Wildfire/Wildlink APIs. Convert product and brand links into affiliate versions to generate revenue. Learn more at https://www.wildlink.me/

See also:

Installation

Installation through Composer is recommended. See the Getting Started guide above if you're new to installing libraries via Composer.

Usage

Instantiation

Get Specific Merchant(s) Metadata

The getMerchants call can be used to fetch metadata (including images) for a given merchant. This call can take either a single integer or an array of integers.

Example return

Get Commission Rate Data for a Merchant

The getMerchantCommissionRates call can be used to fetch commission rate information for a given merchant. Some merchants have a single commission rate and others have a segmented series of rates (sometimes by product category, sometimes by other attributes). The commission rate in the return data takes into account your agreed-upon commission split (so you see your commission amount after Wildfire Systems has taken their share). Some commission terms are percentage rates while others are flat amounts. Where there are flat amounts, a currency code will be included. Wildlink doesn't convert currencies in this context at this time. Wildlink always pays out in USD and will convert the currencies before payment is issued to you. When available, a default commission rate will be denoted, but note that not all merchants have a specified default currency.

Example return

Get All Merchants (excludes disabled merchants) metadata

Example return

Get App Commissions Detail List (Across all devices)

When you want to fetch all commissions, across all devices (i.e. for syncing your backend with Wildfire's) you can use this call to get all changes to commission records since a given date.

Example return

The possible values for Status are:

  1. PENDING – This is the default state for a commission record. Wildlink has detected the commission but has not been paid yet. This mostly reflects a return period policy (where a merchant won’t pay a commission until after a return period has passed.
  2. DISQUALIFIED – For specific merchants, some purchases are marked disqualified based on their terms. There are many cases and they vary widely by merchant. Examples of this include Ticketmaster event pre-sales and Apple electronics at most retailers.
  3. READY – Payment has been received by Wildlink from the merchant is available to be paid to the end user or partner company in the next payment cycle. At the time of this writing, payments are made at the beginning of each month.
  4. PAID – Payment has been made to either the individual user or partner company (in the case where the partner is handling payments between Wildlink and the end user).

Alternative Method for Paging Through Commissions

Alternatively to getting back a single array of commissions, you can instead use the CommissionList object to cycle through each record. This has the advantage of having a smaller memory footprint as only a single "page" of results are loaded into memory at any given time. The returned data is the same as the getAppCommissionsSince method call and it takes the same since_modified_date parameter.

Get Commissions Summary

When you want to display a high level summary of the earnings to a user (assuming you are passing compensation along to your end users) you can call getCommissionSummary.

Example return

Get Commissions Detail List

If you’re including your end users in Wildlink compensation, you can use this call to fetch a detailed record of every commission that Wildlink is aware of for the client/device (including each commission’s status).

Example return

Get Click Stats

If appropriate, you can display total clicks for a given device for a time range (by day, month or year). This method takes a start and end date value (the end value is optional).

Example return

Create Vanity URL (i.e. http://wild.link/walmart/abc123)

Convert a URL (to a product page, listing page, etc.) to a wild.link URL with embedded tracking for the authenticated device.

Example return


All versions of wildlink-api-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package wildlink/wildlink-api-php contains the following files

Loading the files please wait ...