<?php

	include "TopSdk.php";
	date_default_timezone_set('Asia/Shanghai');

const appkey = '12619941';
const secretKey = '9b13aef649d3320dc4cc1f7d353753c4';
	$sessionKey = '61006189f905270ab4529ae83e119789649cff4050a1d87820445294';

//	$c = new TopClient;
//	$c->appkey = '12619941';
//	$c->secretKey = '9b13aef649d3320dc4cc1f7d353753c4';
//	$req = new ItempropvaluesGetRequest;
//	$req->setFields("cid,pid,prop_name,vid,name,name_alias,status,sort_order");
//	$req->setCid(50010790);
//	$req->setPvs("1627207:3232484");
//	$resp = $c->execute($req,$sessionKey);
//
//	echo $resp;

$c = new TopClient;
$c->appkey = appkey;
$c->secretKey = secret;
$req = new ItemSellerGetRequest;
$req->setFields("desc");
$req->setNumIid(41993809338);
$resp = $c->execute($req, $sessionKey);

//	$httpdns = new HttpdnsGetRequest;
//	$client = new ClusterTopClient("appkey","appscret");
//	$client->gatewayUrl = "http://gw.api.taobao.com/router/rest";
//	var_dump($client->execute($httpdns));

?>