如何获取所有易趣产品的名称和详细信息。

时间:2017-05-03 10:30:39

标签: api e-commerce product ebay ebay-api

我只想获取所有ebay产品名称及其描述,有没有办法做到这一点?我已经研究了他们的api文档,但是没有api可以返回所有产品名称,详细信息他们有不同的api,一些用于类别搜索,个人搜索但我需要一次性所有产品信息。

3 个答案:

答案 0 :(得分:1)

我完全同意Helios作为开发人员的想法,他正在寻找一种通过itemid检索商品统计信息的方法,我发现无法检索该商品的星级。

进行getfeedback / getorders / getitem以及许多其他调用itemid / lineorderid作为参数的调用在交易api上无济于事,以获取详细的符号或特定项目/销售的平均值。

统计数据是针对整个卖方/买方活动的,而不是针对商品的特定等级的,即使使用ItemID和ReturnAll作为参数,对于eBay来说也是可惜的。     呼叫:     [版本] => 949     [DetailLevel] => ReturnAll     [ItemID] => 127 **** 223

Response:
[Timestamp] => 2018-10-26T14:25:53.203Z
[Ack] => Success
[Version] => 1075
[Build] => E1075_INTL_APIFEEDBACK_18789619_R1
[FeedbackDetailArray] => stdClass Object
    (
        [FeedbackDetail] => Array
            (
                [0] => stdClass Object
                    (
                        [CommentingUser] => a****ck
                        [CommentingUserScore] => 733
                        [CommentText] => objet bien emballé, bonne qualité
                        [CommentTime] => 2018-10-25T16:16:13.000Z
                        [CommentType] => Positive
                        [ItemID] => 12*****23
                        [Role] => Seller
                        [ItemTitle] => CLAVIER FRANCAIS AZERTY ******
                        [ItemPrice] => eBayAmountType Object
                            (
                                [_] => 45.81
                                [currencyID] => EUR
                            )
                        [FeedbackID] => 161*****8010
                        [TransactionID] => 201*****02
                        [OrderLineItemID] => 1268******18002
                    )
                [1] => stdClass Object
                    (
                        [CommentingUser] => le****ier
                        [CommentingUserScore] => 9324
                        [CommentText] => ☆ Bon acheteur et paiement rapide. Recommandé ! ☆ lebonclavier.fr ☆
                        [CommentTime] => 2018-10-18T14:26:20.000Z
                        [CommentType] => Positive
                        [FeedbackID] => 161*****8010
                        [TransactionID] => 201*****02
                        [OrderLineItemID] => 1268******18002
                    )
                [2] => stdClass Object
                    (
                        [CommentingUser] => le****ier
                        [CommentingUserScore] => 9324
                        [CommentText] => ☆ Paiement rapide, très bonne communication. Parfait ! ☆ lebonclavier.fr ☆
                        [CommentTime] => 2018-10-08T15:36:44.000Z
                        [CommentType] => Positive
                        [ItemID] => 122768110223
                        [Role] => Buyer
                        [FeedbackID] => 161*****8010
                        [TransactionID] => 201*****02
                        [OrderLineItemID] => 1268******18002
                    )
            )
    )
[FeedbackDetailItemTotal] => 3
[FeedbackSummary] => stdClass Object
    (
        [BidRetractionFeedbackPeriodArray] => stdClass Object
            (
                [FeedbackPeriod] => Array
                    (
                        [0] => stdClass Object
                            (
                                [PeriodInDays] => 7
                                [Count] => 0
                            )
                        [1] => stdClass Object
                            (
                                [PeriodInDays] => 30
                                [Count] => 0
                            )
                        [2] => stdClass Object
                            (
                                [PeriodInDays] => 180
                                [Count] => 0
                            )
                    )
            )
        [NegativeFeedbackPeriodArray] => stdClass Object
            (
                [FeedbackPeriod] => Array
                    (
                        [0] => stdClass Object
                            (
                                [PeriodInDays] => 0
                                [Count] => 10
                            )
                        [1] => stdClass Object
                            (
                                [PeriodInDays] => 30
                                [Count] => 0
                            )
                        [2] => stdClass Object
                            (
                                [PeriodInDays] => 180
                                [Count] => 0
                            )
                        [3] => stdClass Object
                            (
                                [PeriodInDays] => 365
                                [Count] => 0
                            )
                    )
            )
        [NeutralFeedbackPeriodArray] => stdClass Object
            (
                [FeedbackPeriod] => Array
                    (
                        [0] => stdClass Object
                            (
                                [PeriodInDays] => 0
                                [Count] => 23
                            )
                        [1] => stdClass Object
                            (
                                [PeriodInDays] => 30
                                [Count] => 0
                            )
                        [2] => stdClass Object
                            (
                                [PeriodInDays] => 180
                                [Count] => 0
                            )
                        [3] => stdClass Object
                            (
                                [PeriodInDays] => 365
                                [Count] => 3
                            )
                    )
            )
        [PositiveFeedbackPeriodArray] => stdClass Object
            (
                [FeedbackPeriod] => Array
                    (
                        [0] => stdClass Object
                            (
                                [PeriodInDays] => 0
                                [Count] => 9785
                            )
                        [1] => stdClass Object
                            (
                                [PeriodInDays] => 30
                                [Count] => 45
                            )
                        [2] => stdClass Object
                            (
                                [PeriodInDays] => 180
                                [Count] => 207
                            )
                        [3] => stdClass Object
                            (
                                [PeriodInDays] => 365
                                [Count] => 465
                            )
                    )
            )
        [TotalFeedbackPeriodArray] => stdClass Object
            (
                [FeedbackPeriod] => Array
                    (
                        [0] => stdClass Object
                            (
                                [PeriodInDays] => 30
                                [Count] => 45
                            )
                        [1] => stdClass Object
                            (
                                [PeriodInDays] => 180
                                [Count] => 207
                            )
                        [2] => stdClass Object
                            (
                                [PeriodInDays] => 365
                                [Count] => 468
                            )
                    )
            )
        [NeutralCommentCountFromSuspendedUsers] => 0
        [UniqueNegativeFeedbackCount] => 9
        [UniquePositiveFeedbackCount] => 9333
        [UniqueNeutralFeedbackCount] => 22
        [SellerRatingSummaryArray] => stdClass Object
            (
                [AverageRatingSummary] => Array
                    (
                        [0] => stdClass Object
                            (
                                [FeedbackSummaryPeriod] => FiftyTwoWeeks
                                [AverageRatingDetails] => Array
                                    (
                                        [0] => stdClass Object
                                            (
                                                [RatingDetail] => ItemAsDescribed
                                                [Rating] => 4.9
                                                [RatingCount] => 433
                                            )
                                        [1] => stdClass Object
                                            (
                                                [RatingDetail] => Communication
                                                [Rating] => 4.9
                                                [RatingCount] => 419
                                            )
                                        [2] => stdClass Object
                                            (
                                                [RatingDetail] => ShippingTime
                                                [Rating] => 4.9
                                                [RatingCount] => 431
                                            )
                                        [3] => stdClass Object
                                            (
                                                [RatingDetail] => ShippingAndHandlingCharges
                                                [Rating] => 4.8
                                                [RatingCount] => 433
                                            )
                                    )
                            )
                        [1] => stdClass Object
                            (
                                [FeedbackSummaryPeriod] => ThirtyDays
                                [AverageRatingDetails] => Array
                                    (
                                        [0] => stdClass Object
                                            (
                                                [RatingDetail] => ItemAsDescribed
                                                [Rating] => 5
                                                [RatingCount] => 43
                                            )
                                        [1] => stdClass Object
                                            (
                                                [RatingDetail] => Communication
                                                [Rating] => 5
                                                [RatingCount] => 45
                                            )
                                        [2] => stdClass Object
                                            (
                                                [RatingDetail] => ShippingTime
                                                [Rating] => 5
                                                [RatingCount] => 43
                                            )
                                        [3] => stdClass Object
                                            (
                                                [RatingDetail] => ShippingAndHandlingCharges
                                                [Rating] => 4.9
                                                [RatingCount] => 43
                                            )
                                    )
                            )
                    )
            )
        [SellerRoleMetrics] => stdClass Object
            (
                [PositiveFeedbackLeftCount] => 2109
                [NegativeFeedbackLeftCount] => 0
                [NeutralFeedbackLeftCount] => 0
                [FeedbackLeftPercent] => 95.2
                [RepeatBuyerCount] => 0
                [RepeatBuyerPercent] => 0
                [UniqueBuyerCount] => 5
                [TransactionPercent] => 99.8
                [CrossBorderTransactionCount] => 65
                [CrossBorderTransactionPercent] => 2.9
            )
        [BuyerRoleMetrics] => stdClass Object
            (
                [PositiveFeedbackLeftCount] => 0
                [NegativeFeedbackLeftCount] => 0
                [NeutralFeedbackLeftCount] => 0
                [FeedbackLeftPercent] => 0
            )
    )
[FeedbackScore] => 9324
[PaginationResult] => stdClass Object
    (
        [TotalNumberOfPages] => 1
        [TotalNumberOfEntries] => 3
    )
[EntriesPerPage] => 100
[PageNumber] => 1

答案 1 :(得分:0)

我大约80%确定你不能这样做。易趣非常大,如果他们让人们下载那么多的数据,那么资源就会大量消耗。相反,您必须针对您的搜索/需求。

他们还禁止某些方式,人们可能会从他们的API中汇总数据,以推断卖出率指标和其他网站范围内的鸟瞰图数据。再次,他们可能不允许这样的大数据下载的另一个原因。

答案 2 :(得分:0)

GetSellerList

“使用此调用来检索项目...包括项目数据。” https://developer.ebay.com/devzone/xml/docs/reference/ebay/GetSellerList.html

您必须添加选项OutputSelector“描述”以获取项目描述。

实施例

使用 GetSellerList ,例如:

EndTimeFrom = today (in ebay time format!)
EndTimeTo = 30 days (in ebay time format!)
Pagination.EntriesPerPage = 50
DetailLevel = "ReturnAll"
OutputSelector = ["Title", "ItemID", "Description"]