Customer Rating and review changes
This commit is contained in:
@@ -92,8 +92,9 @@ async def get_product(product_id: int) -> Dict[str, Any]:
|
||||
"""Full details of one product by its product_id (from search_products).
|
||||
|
||||
Returns per-platform offers (price, MRP, source URL, when seen), normalised specs,
|
||||
image URLs, the overall rating with per-platform sources (null if none is published),
|
||||
and up to 10 real customer reviews (often empty).
|
||||
image URLs, the overall rating with per-platform sources and, when a platform publishes
|
||||
one, a 5-to-1 star breakdown (rating is null if no platform publishes a rating), and up
|
||||
to 10 real customer reviews with the site each came from (often empty).
|
||||
"""
|
||||
d = await _run(elec.product, int(product_id))
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user