1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "exportCsv": """Field,ID,Type,default,en-us,es,fr-fr
10Description,1,Text,,\"Old
11English\",Anterior,Français
12ReleaseNotes,2,Text,,Old,,
13Feature1,3,Text,,Feature,,
14DesktopScreenshot1,4,Relative path,,https://example.com/en.png,https://example.com/es.png,
15Trailer1,5,URL,,https://example.com/trailer,,
16FutureField,6,Text,default,a,b,c
17SearchTerm1,7,Text,,,,
18""",
19 "changes": { "texts": {
20 "en-us": {
21 "Description": "Review your tasks in one place.",
22 "ReleaseNotes": "",
23 },
24 "es": { "Description": "Revisa tus tareas en un solo lugar." },
25 } },
26 "pngAssets": {},
27}
28
29
30run = client.actor("autosecurelogin/store-listing-packager").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37