我是ebay API的新手。我试图从ebay拨打服务,如下所示
http://svcs.ebay.com/services/search/FindingService/v1?
OPERATION-NAME=findItemsAdvanced&
SERVICE-VERSION=1.12.0&
SECURITY-APPNAME=XXXXXXXX&
GLOBAL-ID=EBAY-IN&outputSelector=PictureURLLarge&
RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD
我已经添加了outputSelector=PictureURLLarge
。但是返回的某些产品没有收到pictureURLLarge
以下是我得到的SimpleXMLElement
之一的输出,
SimpleXMLElement Object
(
...............
...............
[galleryURL] => http://thumbs3.ebaystatic.com/m/mul3eDNEoMQ0GzjE_L86YtA/80.jpg
[viewItemURL] => http://www.ebay.in/itm/Nike-Golf-Sport-Shoe-Tote-/290867798430?pt=LH_DefaultDomain_203
[paymentMethod] => PaisaPayEscrow
[autoPay] => false
[location] => India
[country] => IN
[shippingInfo] => SimpleXMLElement Object
(
[shippingServiceCost] => 0.0
[shippingType] => Free
[shipToLocations] => IN
)
[sellingStatus] => SimpleXMLElement Object
(
[currentPrice] => 3540.0
[convertedCurrentPrice] => 3540.0
[sellingState] => Active
[timeLeft] => P26DT3H27M13S
)
[listingInfo] => SimpleXMLElement Object
(
[bestOfferEnabled] => false
[buyItNowAvailable] => false
[startTime] => 2013-02-21T18:09:53.000Z
[endTime] => 2013-09-19T18:14:53.000Z
[listingType] => StoreInventory
[gift] => false
)
[condition] => SimpleXMLElement Object
(
[conditionId] => 1000
[conditionDisplayName] => New
)
[isMultiVariationListing] => false
[topRatedListing] => false
)
如果我们检查产品所在的链接,即 viewItemURL here,我们会看到一张大图片,但是这里我们在 PictureURLLarge中没有相同
还有其他办法吗?
任何帮助都会很明显。
注意:我不想使用会导致大量api调用的GetSingleItem。
提前致谢。