我正在使用 David Sadler 的PHP eBay SDK将 eBay 集成到 PHP 测试应用程序中。使用,$service->findItemsByKeywords
结果确实有itemId
,但没有卖家信息 ( )。title
sellingStatus
$item-seller
object(DTS\eBaySDK\Finding\Types\SearchItem)[43]
private 'values' (DTS\eBaySDK\Types\BaseType) =>
array (size=18)
'itemId' => string '20197XXXXX' (length=12)
'title' => string 'Harry ...' (length=78)
'globalId' => string 'EBAY-US' (length=7)
'primaryCategory' =>
object(DTS\eBaySDK\Finding\Types\Category)[46]
private 'values' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
private 'attachment' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
'galleryURL' => string 'http://thumbs4.ebaystatic.com/m/xxxxxxxx/140.jpg' (length=63)
'viewItemURL' => string 'http://www.ebay.com/itm/Harry...../20197XXXXX' (length=112)
'paymentMethod' =>
object(DTS\eBaySDK\Types\RepeatableType)[45]
private 'data' =>
array (size=1)
...
private 'position' => int 0
private 'class' => string 'DTS\eBaySDK\Finding\Types\SearchItem' (length=36)
private 'property' => string 'paymentMethod' (length=13)
private 'expectedType' => string 'string' (length=6)
'autoPay' => boolean true
'postalCode' => string 'ggggg' (length=5)
'location' => string 'hhhhhhhhhhh,vv,USA' (length=14)
'country' => string 'US' (length=2)
'shippingInfo' =>
object(DTS\eBaySDK\Finding\Types\ShippingInfo)[47]
private 'values' (DTS\eBaySDK\Types\BaseType) =>
array (size=6)
...
private 'attachment' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
'sellingStatus' =>
object(DTS\eBaySDK\Finding\Types\SellingStatus)[48]
private 'values' (DTS\eBaySDK\Types\BaseType) =>
array (size=4)
...
private 'attachment' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
'listingInfo' =>
object(DTS\eBaySDK\Finding\Types\ListingInfo)[52]
private 'values' (DTS\eBaySDK\Types\BaseType) =>
array (size=6)
...
private 'attachment' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
'returnsAccepted' => boolean true
'condition' =>
object(DTS\eBaySDK\Finding\Types\Condition)[57]
private 'values' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
private 'attachment' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
...
'isMultiVariationListing' => boolean false
'topRatedListing' => boolean true
private 'attachment' (DTS\eBaySDK\Types\BaseType) =>
array (size=2)
'data' => null
'mimeType' => null
这可能是基于所使用的 API 密钥的特定情况吗?