Dick's Sporting Goods
Dick's Sporting Goods Products API (batch)
Up to 5 Dick's Sporting Goods products in one call, the fast and cheap style-level check: title, brand, URL, image, price and list-price ranges, percent off, MAP flag, clearance flag, buyable, option axes, attributes, specs, product type, rating, review count and description. Per-SKU prices and online units come from the product endpoint. Unknown ids are listed in not_found; when none is found it is a 404. Costs 1 credit per request, for up to 5 ids.
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_idsstring[]required1 to 5 Dick's product ids (a search result's id, the last part of a product URL). Unknown ids are listed in not_found.
Example: ["23FHQMCLFTN9GTXBLMNS", "26UNDMFITN1HRI9WUAETC", "17YETARMBLR20WMGSODR"]
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# A watchlist, 5 ids per call for 1 credit. Store each run: the API has no price history.
watchlist = ["23FHQMCLFTN9GTXBLMNS", "26UNDMFITN1HRI9WUAETC", "17YETARMBLR20WMGSODR"]
for i in range(0, len(watchlist), 5):
res = client.dicks.products(product_ids=watchlist[i:i + 5])["data"]
for p in res["products"]:
print(p["id"], p["title"], p["price"], p["list_price"], p["percent_off"], p["is_clearance"])
print("not found:", res["not_found"])Response