Argos
Argos Suggestions API
Argos's search suggestions for a partial query, up to 10, each with Argos's own popularity weight, ready to send to search. Costs 2 credits.
POST/api/v1/argos/suggestions
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/jsonquerystringrequiredWhat the shopper has typed so far, 1-100 characters.
Example: lego
limitintegerdefault:10Suggestions, 1 to 10.
Example: 5
Notes
Store. One store: argos.co.uk, the UK store, prices in GBP. There is no country input: Argos trades in the UK only (its Republic of Ireland stores and website closed on 24 June 2023). Each call costs 2 credits.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
data = client.argos.suggestions(query="lego")["data"]
for s in data["suggestions"]:
print(s["text"], s["weight"])Response
"query": "lego",
"count": 10,
},
"response_time": 994
}