1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "texts": [
10 "The quick brown fox jumps over the lazy dog. This simple sentence contains every letter of the alphabet.",
11 "Despite the aforementioned complexities inherent in the implementation of multifaceted regulatory frameworks, it is incumbent upon stakeholders to ensure comprehensive compliance.",
12 ],
13 "text": "The quick brown fox jumps over the lazy dog.",
14 "language": "en",
15}
16
17
18run = client.actor("perryay/content-readability-analyzer").call(run_input=run_input)
19
20
21print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
22for item in client.dataset(run["defaultDatasetId"]).iterate_items():
23 print(item)
24
25