Wish Merchant API
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 5 commits ahead, 1 commit behind ContextLogic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
src/Wish
.gitignore
LICENSE.md
README.md
composer.json
composer.lock

README.md

Wish SDK for PHP

Documentation

http://merchant.wish.com/documentation/api/v2

Install Instructions

Download composer:

curl -sS https://getcomposer.org/installer | php

Add wish/wish-sdk-php as a dependect in your project's composer.json

{
  "minimum-stability": "dev",
  "require":{
      "wish/php-sdk":"*"
  }
}

Run the following:

php composer.phar install

Put the following at the top of your file:

require 'vendor/autoload.php'

Sample

<?php 
require_once 'vendor/autoload.php';

use Wish\WishClient;

$token = 'ACCESS_TOKEN';
$client = new WishClient($token,'sandbox');


print "RESULT: ".$client->authTest();