1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "slides": [
9 {
10 "kicker": "PLAYBOOK",
11 "title": "5 habits that quietly compound",
12 "body": "None of these take more than 10 minutes.",
13 },
14 {
15 "title": "Ship before you're ready",
16 "body": "Perfect is a form of procrastination. Version one just has to exist.",
17 },
18 {
19 "title": "Write it down or lose it",
20 "body": "Your brain is for having ideas, not storing them.",
21 },
22 {
23 "title": "Default to async",
24 "body": "Every meeting that could've been a message costs you a deep-work block.",
25 },
26 {
27 "title": "Want the full system?",
28 "body": "Follow for a new playbook every week.",
29 },
30 ] }
31
32
33run = client.actor("abidchaudhry/linkedin-carousel-generator").call(run_input=run_input)
34
35
36print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
37for item in client.dataset(run["defaultDatasetId"]).iterate_items():
38 print(item)
39
40