IKEA
IKEA 국가별 가격 비교 API
IKEA 상품 번호 하나를 2-10개 마켓에서 한 번에 조회합니다. 마켓별로 통화, 해당 마켓에서 판매하는지(found), 현지 상품명·유형·디자인, 해당 마켓 통화 기준의 가격과 인하 전 가격, 가격 태그(새로운 더 낮은 가격, IKEA Family 가격 등), 상품 URL을 반환합니다. 가격은 환산하지 않습니다. 같은 상품을 다른 상품 번호로 판매하는 마켓에서는 found가 false입니다. 응답한 마켓마다 1크레딧이며, 실패한 마켓은 errors에 담기고 과금되지 않습니다.
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/jsonitem_nostring | integerrequiredIKEA 상품 번호: 8자리, 점 구분도 가능(203.518.84).
Example: 20351884
countriesstring[]requiredikea.com 50개 마켓 중 중복 없는 2-10개 코드: us, ca, gb, ie, de, at, ch, fr, be, nl, dk, se, no, fi, ee, lv, lt, pl, cz, sk, hu, hr, si, rs, ro, pt, es, it, il, ae, sa, kw, qa, bh, om, jo, eg, ma, in, my, sg, ph, th, jp, kr, au, nz, mx, cl, co. 각 마켓은 첫 번째 언어로 응답합니다(kr은 한국어).
Example: ["kr", "jp", "in"]
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
# 한국 상품 번호 20351884(KALLAX 칼락스)를 한국, 일본, 인도에서: 3크레딧.
r = client.ikea.compare(item_no="20351884", countries=["kr", "jp", "in"])["data"]
for m in r["markets"]:
if m["found"]:
print(m["country"], m["price"], m["currency"], "인하 전", m["previous_price"], m["price_tag"])
else:
print(m["country"], "이 번호로는 판매하지 않음")
print(r["errors"])Response