Queries Uniqlo's Chinese API for discounted products and generates a sorted Markdown report with images, pricing, and links.
Size filtering: Optional. If user specifies a size, filters by that size. If no size is specified, returns all sizes.
python
from uniqlo_product_query import process_query
# With size filter
response = process_query("查询优衣库女装S码")
# Without size filter (all sizes)
response = process_query("查询优衣库女装")
print(response)
Output files are saved to unique/ directory in the current working directory.
CategoryTrigger keywordsAPI codeMen (男装)男装, 男装折扣SALE_MWomen (女装)女装, 女装折扣SALE_WKids (童装)童装, 童装折扣SALE_KBaby (婴幼儿装)婴幼儿装, 婴幼儿装折扣SALE_B
Size filtering: Optional. Extracted from user input. If no size is specified, no size filtering is applied. Supports: XXS, XS, S, M, L, XL, XXL, and Chinese sizes (150/76A–180/100A).
{project_root}/unique/优衣库{类别}{尺码}尺码折扣商品清单_{timestamp}.md