Allegro
Allegro Seller Feedback API
One Allegro seller's buyer ratings by login on allegro.pl, allegro.cz, allegro.sk or allegro.hu: the summary (recommended and not recommended counts, unique counts, positive percent, ratings received, excluded and removed, member since, super seller) and 20 ratings per page, newest first, each with recommended yes or no, the comment, the reasons the buyer ticked (such as on-time delivery), the date, the offers rated, and whether it was excluded from the score and why. No buyer identity is returned. 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/jsonloginstringrequiredA seller login (2-64 characters: letters, digits, dot, underscore, hyphen): items[].seller.login of a search or seller.login of an offer.
Example: Yupilo_pl
countryenum<string>default:plThe Allegro site. Titles, parameters, labels and facet names come back in the site's language (Polish on pl), prices in its currency. When you send a url, the market follows the url; a url on one site with a different country is a 400.
Example: pl
pl— allegro.pl, PLN, Polish. The default, and the only market with the buying_format and deals filters.cz— allegro.cz, CZK, Czech.sk— allegro.sk, EUR, Slovak. Calls can take up to about 60 seconds.hu— allegro.hu, HUF, Hungarian. Calls can take up to about 60 seconds.
pageintegerRatings page, 1-based, up to 500. Defaults to 1. 20 ratings per page, newest first.
Example: 2
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
fb = client.allegro.seller_feedback(login="Yupilo_pl")["data"]
s = fb["summary"]
print(s["positive_percent"], "% positive,", s["received"], "received, member since", s["member_since"], "super seller:", s["super_seller"])
for r in fb["ratings"]:
if not r["recommended"]:
print(r["created_at"], r["comment"], r["justifications"])Response