2017 © Pedro Peláez
 

library shopee-php

Shopee Partner API PHP SDK

image

cnf/shopee-php

Shopee Partner API PHP SDK

  • Thursday, June 7, 2018
  • by hiepntcnf
  • Repository
  • 0 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

shopee-php

Build Status Latest Stable Version Latest Unstable Version composer.lock, (*1)

This is a Shopee Partner API Client for PHP., (*2)

Requirements

Installation

Execute the following command to get the package:, (*3)

$ composer require minchao/shopee-php

Usage

Create an instance of the Shopee client, then use to access the Shopee Partner API., (*4)

<?php

require_once __DIR__ . '/vendor/autoload.php';

$client = new \Shopee\Client([
    'secret' => SHOPEE_SECRET,
    'partner_id' => SHOPEE_PARTNER_ID,
    'shopid' => SHOPEE_SHOP_ID, 
]);

Examples

Get detail of item

$response = $client->item->getItemDetail(['item_id' => 1978]);

Alternatively, you can also use the parameter model within request., (*5)

$parameters = (new \Shopee\Nodes\Item\Parameters\GetItemDetail())
    ->setItemId(1978);
$response = $client->item->getItemDetail($parameters);

License

See the LICENSE file for license rights and limitations (BSD 3-Clause)., (*6)

The Versions

07/06 2018

dev-master

9999999-dev https://github.com/hiepntcnf/shopee-php

Shopee Partner API PHP SDK

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

openapi shopee

07/06 2018

0.0.3

0.0.3.0 https://github.com/hiepntcnf/shopee-php

Shopee Partner API PHP SDK

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

openapi shopee

07/06 2018

0.0.2

0.0.2.0 https://github.com/hiepntcnf/shopee-php

Shopee Partner API PHP SDK

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

openapi shopee

08/04 2018

0.0.1

0.0.1.0 https://github.com/minchao/shopee-php

Shopee Partner API PHP SDK

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

openapi shopee