Skip to content

Wallapop: search and filters take subcategory_ids (0.83.0) - #109

Merged
0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/wallapop-subcategories
Nov 26, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/wallapop-subcategories

Conversation

@0xGhostCasper

@0xGhostCasper 0xGhostCasper commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

A customer asked to search Wallapop by subcategory. The API now takes subcategory_ids on search and filters (scrape-badger/scrapebadger PR: scrape-badger/scrapebadger#3567).

  • wallapop.search(..., subcategory_ids=[9447, 10310]) (or "9447,10310"): the nested ids of list_categories(), at any depth. Works with or without category_id, and on its own is enough to search.
  • list_filters() and list_filter_options() take the same argument (e.g. phone brands only for 9447).
  • Keyword-only with a None default: existing calls are unchanged. Version 0.83.0 + CHANGELOG.

git log v0.82.1..origin/main is empty, so a release from this PR ships only this change.

Merge order: merge this before the monorepo PR. The monorepo's python-v1-surface.json already carries the new signatures, and its SDK Codegen check clones this repo's main.

Tests: pytest --ignore=tests/e2e green, ruff, ruff-format and mypy green.

Related: monorepo scrape-badger/scrapebadger#3567 · Node scrape-badger/scrapebadger-node#101 · docs scrape-badger/docs#204

🤖 Generated with Claude Code

wallapop.search(), list_filters() and list_filter_options() take
subcategory_ids: the nested ids of list_categories(), as a list or a
comma-separated string, sent to the API comma-joined. Keyword-only with a
None default, so existing calls are unchanged.

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

codecov Bot commented Nov 26, 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 3fbccea into main Nov 26, 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