Canadian Tire
Canadian Tire Deals API
Items on a deal at one Canadian Tire store, 100 per page: this week's sale prices, instant rebates, special buys or Triangle Rewards loyalty offers, with the same fields as search. Deals differ by store, so store_id is required. Costs 1 credit per request.
POST/api/v1/canadiantire/deals
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/jsonstore_idstringrequiredCanadian Tire store number. Prices and stock are that store's. Find numbers with /api/v1/canadiantire/stores.
Example: 600
typestringrequiredsale (this week's sale prices), instant_rebate, special_buy or loyalty (Triangle Rewards offers).
Example: sale
pageintegerResults page, 1-based. 100 results per page.
Example: 1
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.canadian_tire.deals(store_id="600", type="sale")["data"]
print(res["total_results"], "items on sale at store", res["store_id"])
for p in res["products"]:
print(p["code"], p["title"], p["price"] or p["price_range"], p["rebate"])Response
"deal_type": "sale",
"store_id": "600",
"page": 1,
"page_size": 100,
"total_results": 2775,
"total_pages": 28,
"count": 100,
},
"response_time": 5038
}