Skip to content

chore(SCR-764): remove google.shopping.product() and click() (0.87.0) - #115

Merged
0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-764-shopping-cleanup
Dec 1, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-764-shopping-cleanup

Conversation

@0xGhostCasper

@0xGhostCasper 0xGhostCasper commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

GET /v1/google/shopping/product and GET /v1/google/shopping/product/click were retired and answer 404, so google.shopping.product() and google.shopping.click() could only fail. A customer called them from our examples (SB-001278). Linear: SCR-764.

  • ShoppingClient.product() and .click() are removed. search() and offers() are unchanged.
  • The docstring examples in client.py and google/__init__.py now chain shopping.search() into products.detail(gpcid, q=..., include_offers=True).
  • The search() docstring lists the tile fields Google returns today and no longer mentions click_link.
  • docs/google.md: the Shopping example, the method tables and the credit table are updated, and the "Shopping Click Enrichment" section is removed.
  • The README Shopping blurb is updated.
  • Version is 0.87.0, with a CHANGELOG entry under "Removed".

Merge order: merge the monorepo PR (surface manifests) first. The monorepo's SDK Codegen job clones this repo's main, and its surface-lock fails on missing: google.shopping.click / google.shopping.product until the manifest entries are gone.

Release contents: compare/v0.86.0...main is empty today (ahead_by=0), so a 0.87.0 release from main would carry only this change. The open PRs #111 (SCR-712) and #104 (SB-001247) also touch versioning, so whichever merges second needs a rebase and version bump.

Checks: 1035 unit tests pass (pytest --ignore=tests/e2e). ruff check, ruff format and mypy pass. check_surface.py with the edited monorepo manifest reports surface-lock OK.

Related PRs (SCR-764), merge in this order:

  1. Monorepo (surface manifests, catalog, portal, BadgerBot): https://github.com/scrape-badger/scrapebadger/pull/3666
  2. Python SDK 0.87.0: chore(SCR-764): remove google.shopping.product() and click() (0.87.0) #115
  3. Node SDK 0.87.0: chore(SCR-764): remove google.shopping.product() and click() (0.87.0) scrapebadger-node#107
  4. Docs (after the TODO(SCR-764) wording is final): chore(SCR-764): remove retired Shopping product/click docs, add Shopping offers API reference docs#222

🤖 Generated with Claude Code

…, SCR-764)

GET /v1/google/shopping/product and GET /v1/google/shopping/product/click
were retired (monorepo migrations 059/060) and answer 404, so both methods
could only fail. A customer called them from our examples (SB-001278).

- ShoppingClient loses product() and click(); offers() and search() stay.
- Docstring examples in client.py and google/__init__.py now chain
  shopping.search() into products.detail(gpcid, q=..., include_offers=True).
- search() docstring lists the tile fields Google returns today (gpcid,
  catalog_id, link, product_link, scrapebadger_product_detail_link); there
  is no click_link.
- docs/google.md: shopping example, method tables, credit table and the
  "Shopping Click Enrichment" section updated or removed.
- Version 0.87.0 and a CHANGELOG entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@0xGhostCasper
0xGhostCasper merged commit 6ef9e5c into main Dec 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants