Skip to content

feat: Leboncoin Scraper API client (0.15.6)#10

Merged
0xGhostCasper merged 1 commit into
mainfrom
feat/leboncoin-sdk-0.15.6
Jul 6, 2026
Merged

feat: Leboncoin Scraper API client (0.15.6)#10
0xGhostCasper merged 1 commit into
mainfrom
feat/leboncoin-sdk-0.15.6

Conversation

@0xGhostCasper

Copy link
Copy Markdown
Member

Summary

Adds the Leboncoin Scraper API client (client.leboncoin) to the Python SDK — France marketplace listings.

10 endpoints: search, ad detail, similar ads, seller profile + seller listings, and reference lookups (markets, regions, departments, categories, location search).

Sub-clients: search, ads, sellers, reference, with fully-typed Pydantic models (LeboncoinSearchResponse, LeboncoinAdResponse, LeboncoinSeller, etc.).

Changes

  • New package src/scrapebadger/leboncoin/ (client, search, ads, sellers, reference, models)
  • Registered LeboncoinClient in client.py (cached leboncoin property) and re-exported models in __init__.py, matching the existing ebay/realtor/youtube pattern
  • Version bump 0.15.5 → 0.15.6 (pyproject.toml, _internal/client.py, __init__.py)
  • CHANGELOG entry for 0.15.6

Tests

uv run pytest: 597 passed, 77 skipped (e2e skipped — no API key). 37 new leboncoin tests. ruff + mypy pass.

Release is cut after merge (orchestrator handles tagging/publish).

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.93238% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/scrapebadger/client.py 57.14% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@0xGhostCasper
0xGhostCasper merged commit 66cc327 into main Jul 6, 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