2017 © Pedro Peláez
 

library linkshare-api

API Wrapper for consuming LinkShare developer APIs.

image

smartsites/linkshare-api

API Wrapper for consuming LinkShare developer APIs.

  • Monday, May 7, 2018
  • by smartsites
  • Repository
  • 2 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

linkshare-api

Latest Version on Packagist Software License Build Status SensioLabsInsight StyleCI Total Downloads, (*1)

API clients for consuming LinkShare developer APIs., (*2)

What is this?

This package provides clients for LinkShare's developer APIs., (*3)

LinkShare Developer's Portal, (*4)

Implementation is based on The PHP League's OAuth 2.0 client libraries., (*5)

Currently implemented APIs:, (*6)

  • Link Locator (partial implementation)
  • Product Search

Usage

You can find examples of how to use the APIs under the examples folder., (*7)

Generally though, a new API client is created in the following fashion:, (*8)


// Options contain the information required for // authenticating against the API endpoints. $options = [ // Required: The client ID as provided by the developer's portal // This will vary for each API. 'client_id' => $clientId, // Required: The client secret as provided by the developer's portal // This will vary for each API. 'client_secret' => $password, // Required: The access token as provided by the developer's portal // This will vary for each API. 'access_token' => $access_token, // Required: Your LinkShare Affiliate username 'username' => $username, // Required: Your LinkShare Affiliate password 'password' => $password, // Required: Your LinkShare Affiliate Site ID 'scope' => $scope, // Optional: The timeout (in seconds) before a request fails 'timeout' => $timeout, ]; // To create an API client, simply supply the required options as shown above $linkLocator = new LinkLocator($options); $productSearch = new ProductSearch($options);

The Versions

07/05 2018

dev-master

9999999-dev

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi

07/03 2018

1.0.x-dev

1.0.9999999.9999999-dev

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi

07/03 2018

v1.0.9

1.0.9.0

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi

01/09 2017

v1.0.8

1.0.8.0

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi

05/01 2017

v1.0.7

1.0.7.0

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi

04/01 2017

v1.0.6

1.0.6.0

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi

29/09 2016

v1.0.5

1.0.5.0

API Wrapper for consuming LinkShare developer APIs.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Andrew Miller
by Takuto Hayashi