forked from mvanhorn/printing-press-library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtools-manifest.json
More file actions
104 lines (104 loc) · 3.03 KB
/
Copy pathtools-manifest.json
File metadata and controls
104 lines (104 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"api_name": "daraz",
"base_url": "https://www.daraz.pk",
"description": "Every Daraz product search, plus a local price database, real-deal ranking, and drop alerts no Daraz scraper has.",
"mcp_ready": "full",
"http_transport": "standard",
"auth": {
"type": "none"
},
"required_headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36"
}
],
"tools": [
{
"name": "products_search",
"description": "Search products by keyword with sort and price filtering. Required: query. Optional: ajax (default: true), page (default: 1), sort (plus 1 more). Returns array of Product.",
"method": "GET",
"path": "/catalog/",
"no_auth": true,
"params": [
{
"name": "ajax",
"type": "bool",
"location": "query",
"description": "Return JSON (always true)"
},
{
"name": "query",
"wire_name": "q",
"type": "string",
"location": "query",
"description": "Search keyword, e.g. 'gaming laptop'",
"required": true,
"aliases": [
"q"
]
},
{
"name": "page",
"type": "int",
"location": "query",
"description": "Result page (40 items per page)"
},
{
"name": "sort",
"type": "string",
"location": "query",
"description": "Sort order: popularity (default), priceasc, pricedesc"
},
{
"name": "price",
"type": "string",
"location": "query",
"description": "Price range in PKR as min-max, e.g. 10000-50000"
}
]
},
{
"name": "reviews_list",
"description": "List reviews for a product by its numeric item ID. Required: item-id. Optional: page-size (default: 10), page (default: 1), filter (default: 0) (plus 1 more). Returns array of Review.",
"method": "GET",
"path": "/pdp/review/getReviewList",
"no_auth": true,
"params": [
{
"name": "item-id",
"wire_name": "itemId",
"type": "string",
"location": "query",
"description": "Numeric Daraz item ID (from a product URL or search result)",
"required": true
},
{
"name": "page-size",
"wire_name": "pageSize",
"type": "int",
"location": "query",
"description": "Reviews per page"
},
{
"name": "page",
"type": "int",
"location": "query",
"description": "Review page number"
},
{
"name": "filter",
"type": "int",
"location": "query",
"description": "Rating filter: 0=all, 1..5=that star rating"
},
{
"name": "sort",
"type": "int",
"location": "query",
"description": "Sort: 0=relevance/recent"
}
]
}
]
}