Skip to content

Mirror taobao api official package

Notifications You must be signed in to change notification settings

latik/taobao-sdk-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirror taobao api official package

Installation

php composer.phar composer require latik/taobao-sdk

Usage

Once the library is installed, simply use it in your code by:

<?php

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

$topClient = new TopClient();
$topClient->appkey = '..';
$topClient->secretKey = '..';
var_dump($topClient);
$itemReq = new ItemGetRequest();
$itemReq->setFields("detail_url,nick,props_name,num_iid,title,num_iid,input_str,pic_url,location,price,item_img,prop_img");
$itemReq->setNumIid(123456); // id good

$objResult = $topClient->execute($itemReq);

?>

About

Mirror taobao api official package

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages