Real-Time Product Search

フリーミアム
Verified
よって OpenWeb Ninja | 更新済み לפני 8 ימים | eCommerce
人気

9.8 / 10

レイテンシー

3,160ms

サービスレベル

99%

Health Check

100%

すべてのディスカッションに戻る

Variant Mapping and number of offers

Rapid account: Teamwisebuy
teamwisebuy
לפני 6 חודשים

Hi guys - you are really doing a great job with this API - I really enjoy using it.

I have another two questions:

  • As I saw, Google provides with the product details sometimes a list of product variations (such as, eg. size at this product: https://www.google.com/shopping/product/833663724162346239?gl=DE&hl&de). Do you already scrape this information somewhere or would it be possible to have that mapping in your api response? Something along the line “size 20” => “product_id”, “size 21” => “product_id”?
  • During product search you extract one offer, which is good, but could you also add the number of available offer for the specific product? Google seems to show some hints of the number of offers for the searched products. This would help to make a more guided choice if a call to the offers endpoint would make sense.

Thanks again for all your effort!

Rapid account: Teamwisebuy
teamwisebuy Commented לפני 6 חודשים

This is really helpful - thank you for your responsiveness and help!

Rapid account: Letscrape 6 B R Ba 3 Qgu O 5
letscrape-6bRBa3QguO5 Commented לפני 6 חודשים
  1. Added product_variant_properties (the selected variant properties values - size=20 in your example) and product_variants to the product returned by the Product Details endpoint.

Example:
{
“status”: “OK”,
“request_id”: “0c4fa5c6-daae-4e28-9e81-2d263223ebdb”,
“data”: {
“product”: {
“product_id”: “833663724162346239”,

“product_variant_properties”: {
“Size”: “20”
},
“product_variants”: {
“Size”: {
“20”: “833663724162346239”,
“21”: “444894344070969780”,
“22”: “7480264860565582266”,
“24”: “11018171818266407635”,
“25”: “3722591313793302185”,
“26”: “13833837481841221331”,
“19½”: “17881674291863726824”,
“21½”: “7108677639289475236”,
“22½”: “5154889054884062725”,
“23½”: “9168481804642703537”,
“24½”: “1427015567698373962”,
“25½”: “13831780115654070668”,
“26½”: “12991113703461925091”
}

I hope that this is what you are looking for, anyway, I think it’s a great addition to the API so thanks for bringing this up! Let me know if you have any questions.

Rapid account: Letscrape 6 B R Ba 3 Qgu O 5
letscrape-6bRBa3QguO5 Commented לפני 6 חודשים

Hi there,

Really happy to hear the API serves you well.

Thanks for the good suggestions.

  1. Looks feasible, let me get back to you about this one.
  2. Yes, I just added a new field to each product returned by the Search and the Product Details endpoints called “product_num_offers” (string). Sometimes it is a lower limit estimation such as “10+” and some other times it is simply a number like “4” (It can also be null in case not available on Google). I hope it helps with what you need.

Thank you,
Adam

ディスカッションに参加しましょう-以下にコメントを追加してください:

ログイン/サインアップして新しいコメントを投稿