Peter Foster 551bed6814 Add live eBay Browse API price lookup to photo analysis
After photo analysis completes, fires a background request to the
eBay Browse API (app-level auth, no user login needed) to fetch
current Buy It Now prices for similar items on eBay UK.

- EbayAuthService.GetAppTokenAsync(): client credentials OAuth flow,
  cached for the token lifetime
- EbayPriceResearchService: searches /buy/browse/v1/item_summary/search
  filtered to FIXED_PRICE + EBAY_GB, returns min/max/median/suggested
  (suggested = 40th percentile — competitive but not cheapest)
- PhotoAnalysisView: shows spinner + "Checking live eBay UK prices…",
  then updates price badge, range bar and PriceOverride with real data,
  plus a "Based on N live listings (£X – £Y)" label

Silently degrades if eBay credentials are not configured.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 18:05:16 +01:00
Description
WPF desktop app for creating eBay UK listings with AI photo analysis
614 KiB
Languages
C# 100%