1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "raw_text": """{\"user\": {\"email\": \"lin@example.com\", \"name\": \"Lin\"}, \"score\": 42}
9{\"user\": {\"email\": \"lin@example.com\", \"name\": \"Lin\"}, \"score\": 42}
10{\"user\": {\"name\": \"Wu\"}, \"score\": \"high\",}""" }
11
12
13run = client.actor("flyerlin/jsonl-toolkit").call(run_input=run_input)
14
15
16print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
17for item in client.dataset(run.default_dataset_id).iterate_items():
18 print(item)
19
20