2017 © Pedro Peláez
 

library sdk

PHP SDK for Findify API

image

findify/sdk

PHP SDK for Findify API

  • Thursday, June 15, 2017
  • by vgoloviznin
  • Repository
  • 5 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

Findify PHP SDK

This is a PHP SDK for our JSON API, you can check full documentation at Findify Developer Portal, (*1)

Requirements

PHP 5.4.0 and later, (*2)

Installation & Usage

Composer

To install the bindings via Composer, add the following to composer.json:, (*3)

{
  "require": {
    "findify/sdk": "1.*"
  }
}

Then run composer install, (*4)

Manual Installation

Download the files and include autoload.php:, (*5)

require_once('/path-to-findify-sdk/autoload.php');

Getting Started

Please visit Findify Developer Portal for the full API spec and guides., (*6)

Authentication

Please check Findify Developer Portal to get the API key, (*7)

Requesting the API

Please follow the installation procedure and then run the following:, (*8)

setApiKey('X-Key', 'YOUR_API_KEY');

$api_instance = new Swagger\Client\Api\DefaultApi();
$autocomplete = new \Swagger\Client\Model\AutocompleteRequest(); // \Swagger\Client\Model\AutocompleteRequest | Request parameters for autocomplete

try {
    $result = $api_instance->autocompletePost($autocomplete);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->autocompletePost: ', $e->getMessage(), PHP_EOL;
}

?>

Documentation for API Endpoints

All URIs are relative to https://api-v3.findify.io/v3, (*9)

Class Method HTTP request Description
DefaultApi autocompletePost POST /autocomplete
DefaultApi feedbackPost POST /feedback
DefaultApi recommendItemsFeaturedPost POST /recommend/items/featured
DefaultApi recommendItemsItemIdViewedViewedPost POST /recommend/items/{item_id}/viewed/viewed
DefaultApi recommendItemsItemIdsBoughtBoughtPost POST /recommend/items/{item_ids}/bought/bought
DefaultApi recommendItemsNewestPost POST /recommend/items/newest
DefaultApi recommendItemsTrendingPost POST /recommend/items/trending
DefaultApi recommendItemsViewedLatestPost POST /recommend/items/viewed/latest
DefaultApi recommendSlotPost POST /recommend/{slot}
DefaultApi searchPost POST /search
DefaultApi smartCollectionSlotPost POST /smart-collection/{slot}

Documentation For Models

Running tests

To run the unit tests:, (*10)

composer install
./vendor/bin/phpunit lib/Tests

Contributing

Feel free to create issues, send pull requests or contact us at yourfriends@findify.io!, (*11)

Licence

MIT, (*12)

The Versions

15/06 2017

dev-master

9999999-dev https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

15/06 2017

v1.4.0

1.4.0.0 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

15/06 2017

dev-develop

dev-develop https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

13/04 2017

v1.3.0

1.3.0.0 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

04/04 2017

v1.2.0

1.2.0.0 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

04/04 2017

dev-feature/SA-240

dev-feature/SA-240 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

22/03 2017

v1.1.0

1.1.0.0 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

23/02 2017

v1.0.1

1.0.1.0 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify

19/01 2017

dev-release/v1.0.0

dev-release/v1.0.0 https://developers.findify.io

PHP SDK for Findify API

  Sources   Download

MIT

The Requires

  • php >=5.4
  • ext-curl *
  • ext-json *
  • ext-mbstring *

 

The Development Requires

api php sdk findify