You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolve a barcode to a product via Google web search, then return its Google Shopping seller offers (source + price per merchant).
1606
+
Google Shopping seller offers (source + price + link per merchant) for a product identified either by ``barcode`` (resolved via Google web search) or by its Google Shopping ``catalog_id`` (read straight off Google's product page, all seller pages fetched in parallel).
1607
1607
1608
1608
### Example
1609
1609
@@ -1625,11 +1625,13 @@ $apiInstance = new ScrapeBadger\Api\GoogleApi(
$catalog_id = 'catalog_id_example'; // string | Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required
1628
1629
$gl = 'gl_example'; // string | Country code (ISO 3166 alpha-2)
|**catalog_id**|**string**| Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required |[optional]|
1644
1647
|**gl**|**string**| Country code (ISO 3166 alpha-2) |[optional]|
1645
1648
|**hl**|**string**| Language code |[optional][default to 'en']|
1649
+
|**domain**|**string**| Google domain |[optional][default to 'google.com']|
* @param string $catalog_id Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required (optional)
9494
9495
* @param string $gl Country code (ISO 3166 alpha-2) (optional)
9495
9496
* @param string $hl Language code (optional, default to 'en')
9497
+
* @param string $domain Google domain (optional, default to 'google.com')
9496
9498
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['googleMultiSellerOffersByBarcode'] to see the possible values for this operation
9497
9499
*
9498
9500
* @throws \ScrapeBadger\ApiException on non-2xx response or if the response body is not in the expected format
* @param string $catalog_id Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required (optional)
9514
9517
* @param string $gl Country code (ISO 3166 alpha-2) (optional)
9515
9518
* @param string $hl Language code (optional, default to 'en')
9519
+
* @param string $domain Google domain (optional, default to 'google.com')
9516
9520
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['googleMultiSellerOffersByBarcode'] to see the possible values for this operation
9517
9521
*
9518
9522
* @throws \ScrapeBadger\ApiException on non-2xx response or if the response body is not in the expected format
9519
9523
* @throws \InvalidArgumentException
9520
9524
* @return array of mixed|\ScrapeBadger\Model\HTTPValidationError, HTTP status code, HTTP response headers (array of strings)
9521
9525
*/
9522
-
public function googleMultiSellerOffersByBarcodeWithHttpInfo($barcode, $gl = null, $hl = 'en', string $contentType = self::contentTypes['googleMultiSellerOffersByBarcode'][0])
* @param string $catalog_id Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required (optional)
9676
9681
* @param string $gl Country code (ISO 3166 alpha-2) (optional)
9677
9682
* @param string $hl Language code (optional, default to 'en')
9683
+
* @param string $domain Google domain (optional, default to 'google.com')
9678
9684
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['googleMultiSellerOffersByBarcode'] to see the possible values for this operation
9679
9685
*
9680
9686
* @throws \InvalidArgumentException
9681
9687
* @return \GuzzleHttp\Promise\PromiseInterface
9682
9688
*/
9683
-
public function googleMultiSellerOffersByBarcodeAsync($barcode, $gl = null, $hl = 'en', string $contentType = self::contentTypes['googleMultiSellerOffersByBarcode'][0])
* @param string $catalog_id Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required (optional)
9699
9706
* @param string $gl Country code (ISO 3166 alpha-2) (optional)
9700
9707
* @param string $hl Language code (optional, default to 'en')
9708
+
* @param string $domain Google domain (optional, default to 'google.com')
9701
9709
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['googleMultiSellerOffersByBarcode'] to see the possible values for this operation
9702
9710
*
9703
9711
* @throws \InvalidArgumentException
9704
9712
* @return \GuzzleHttp\Promise\PromiseInterface
9705
9713
*/
9706
-
public function googleMultiSellerOffersByBarcodeAsyncWithHttpInfo($barcode, $gl = null, $hl = 'en', string $contentType = self::contentTypes['googleMultiSellerOffersByBarcode'][0])
* @param string $catalog_id Google Shopping catalogid (the `catalog_id` on /shopping/search tiles, or `prds=catalogid:<id>` in a Google Shopping URL). Alternative to `barcode`; exactly one of the two is required (optional)
9751
9760
* @param string $gl Country code (ISO 3166 alpha-2) (optional)
9752
9761
* @param string $hl Language code (optional, default to 'en')
9762
+
* @param string $domain Google domain (optional, default to 'google.com')
9753
9763
* @param string $contentType The value for the Content-Type header. Check self::contentTypes['googleMultiSellerOffersByBarcode'] to see the possible values for this operation
9754
9764
*
9755
9765
* @throws \InvalidArgumentException
9756
9766
* @return \GuzzleHttp\Psr7\Request
9757
9767
*/
9758
-
public function googleMultiSellerOffersByBarcodeRequest($barcode, $gl = null, $hl = 'en', string $contentType = self::contentTypes['googleMultiSellerOffersByBarcode'][0])
0 commit comments