Foot Locker
Foot Locker Questions & Answers API
Shopper questions about one footlocker.com product, 1 to 50 per call (default 10, newest answered first), with every answer: question, details, author, date, answer count, helpful votes, and per answer its text, author, author_type (brand, retailer or customer), best-answer flag, date and votes. Slow: usually 30 to 90 seconds, so allow 240. US only. Costs 1 credit 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 footlocker.com SKU: a search result's id, the last part of a product URL (Q5495005). One of product_id or url is required.
Example: Q5495005
urlstringA footlocker.com product URL (its SKU is used). Alternative to product_id.
Example: https://www.footlocker.com/product/jordan-retro-1-high-og-mens/Q5495005.html
countryenum<string>default:usus only: this endpoint covers footlocker.com (United States) and nothing else. Any other value is a 400.
Example: us
us— United States (footlocker.com), USD. The only value.
limitintegerQuestions to return, 1-50. Defaults to 10.
Example: 30
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# Allow 240 s for this call.
res = client.footlocker.questions(product_id="Q5495005", limit=30)["data"]
print(res["total_questions"], "questions,", res["count"], "returned")
for q in res["questions"]:
for a in q["answers"]:
print(q["question"], "->", a["author_type"], a["text"])Response