Skip to content

docs: drop hard-coded per-endpoint credit prices again, 0.61.1 (SCR-347) - #66

Merged
0xGhostCasper merged 1 commit into
mainfrom
casper/scr-347-sdks-portal-per-endpoint-credit-prices-stale
Oct 15, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
casper/scr-347-sdks-portal-per-endpoint-credit-prices-stale

Conversation

@0xGhostCasper

Copy link
Copy Markdown
Member

The 2026-10-14 repricing (318 scheduled price changes across 27 APIs) made the "Costs N credits" lines in this SDK wrong. For example, eBay image search said 10 (now 16) and Baidu said 5 (now 7).

This SDK already decided to keep per-endpoint prices out of code comments (see the CHANGELOG entry "Removed hardcoded per-endpoint credit numbers"): prices are set per endpoint by ScrapeBadger and served live from GET /public/pricing. These lines had crept back in, so this removes them again instead of updating them. Free reference endpoints still say they're free. The changelog history is unchanged.

  • Comment and docs changes only, plus the patch version bump to 0.61.1 in every file the 0.61.0 release touched.
  • The Apartments guide points to the live Credits & Pricing page and keeps the billing unit (each search page and each property is one request).
  • Lint, type checks and unit tests pass locally.

The docs site was fixed in scrape-badger/docs#104.

Linear: SCR-347

🤖 Generated with Claude Code

The 2026-10-14 repricing made the "Costs N credits" lines that had crept
back into docstrings and docs wrong. Per the earlier decision
(see CHANGELOG), prices are configured per endpoint and served live from
GET /public/pricing; the docs site carries them. Free reference endpoints
still say they are free.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@0xGhostCasper
0xGhostCasper merged commit e0fca18 into main Oct 15, 2026
6 checks passed
@0xGhostCasper
0xGhostCasper deleted the casper/scr-347-sdks-portal-per-endpoint-credit-prices-stale branch October 15, 2026 19:59
@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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