Harbor Freight
Harbor Freight Reviews API
Customer reviews for one Harbor Freight item, newest first, with limit and offset paging: title, text, star rating, author, review date and purchase date, incentivized flag, helpful votes and the reviewer's answers (would recommend, what they liked), plus the item's average rating and total review count. Costs 1 credit per request.
POST/api/v1/harborfreight/reviews
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/jsonskustringrequiredHarbor Freight item number.
Example: 73216
limitintegerReviews per call, 1-50. Defaults to 10.
Example: 5
offsetintegerReviews to skip, for paging. Defaults to 0.
Example: 0
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.harbor_freight.reviews(sku="73216", limit=5)["data"]
print(res["average_rating"], res["total_results"])
for r in res["reviews"]:
print(r["rating"], r["title"], r["date"], r["text"])Response
"sku": "73216",
"average_rating": 4.6,
"total_results": 151,
"offset": 0,
"limit": 5,
"count": 5,
},
"response_time": 1790
}