1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [
9 {
10 "ref": "sku-001",
11 "description": "Cotton T-shirt with printed graphic",
12 "originCountry": "VN",
13 "cifJpy": 50000,
14 "language": "en",
15 "knownHs9": "610910010",
16 },
17 {
18 "ref": "sku-002",
19 "description": "Hardcover book on Japanese cuisine",
20 "originCountry": "US",
21 "cifJpy": 30000,
22 "language": "en",
23 "knownHs9": "490199010",
24 },
25 ] }
26
27
28run = client.actor("aulvem/japan-hs-code-duty-calculator").call(run_input=run_input)
29
30
31print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
32for item in client.dataset(run.default_dataset_id).iterate_items():
33 print(item)
34
35