Dick's Sporting Goods
Dick's Sporting Goods Reviews API
The 15 newest customer reviews of one Dick's Sporting Goods product by id or URL, with its review statistics: total, average, the 1-5 star distribution, recommended and not-recommended counts, photo count, first and last review dates, question and answer counts, and the average of each secondary rating (size, fit, comfort...). Each review has rating, title, text, pros, cons, nickname, date, recommended, helpful and unhelpful votes, verified-purchaser and incentivized badges, the brand site it was syndicated from, secondary ratings, photos and the brand's public response. The newest 15 only: no paging, no sort and no star filter, and questions and answers are counts only. Usually 20 to 75 seconds; allow 180. Costs 2 credits per request.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonproduct_idstringA Dick's product id: a search result's id, the last part of a product URL (any case). One of product_id or url is required.
Example: 26UNDMFITN1HRI9WUAETC
urlstringA dickssportinggoods.com product URL (its product id is used). Alternative to product_id.
Example: https://www.dickssportinggoods.com/p/under-armour-mens-waffle-hoodie-26undmfitn1hri9wuaetc/26undmfitn1hri9wuaetc
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# The 15 newest reviews and the rating breakdown. Allow 180 s.
res = client.dicks.reviews(product_id="26UNDMFITN1HRI9WUAETC")["data"]
s = res["stats"]
print(s["total"], "reviews,", s["average"], "stars,", s["distribution"])
for r in res["reviews"]:
print(r["submitted_at"][:10], r["rating"], r["verified_purchaser"], r["syndicated_from"], r["title"])Response