pip install freshgeo - ✓Fully typed with Pydantic v2 models
- ✓Sync and async clients
- ✓Automatic retry with exponential backoff on 5xx
- ✓Streaming replay for large snapshot exports
- ✓Built-in pytest fixtures for golden-set testing
- ✓Zero dependencies beyond httpx and pydantic
from freshgeo import FreshGeo
fg = FreshGeo(api_key="fg_live_...")
result = fg.pricing.compare(
sku="DYSON-V15",
sources=["currys.co.uk", "argos.co.uk", "ao.com"],
)
for offer in result.offers:
print(f"{offer.source}: £{offer.price} — {offer.in_stock}")
print(f"cache_id: {result.cache_id}")