1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "query": ["python"],
10 "location": [],
11 "startUrls": [],
12 "companyName": [],
13 "domain": [],
14 "salaryFrom": 0,
15 "salaryTo": 0,
16 "postedWithinDays": 0,
17 "includeKeywords": {},
18 "excludeKeywords": {},
19 "maxResults": 25,
20 "maxPages": 5,
21 "stateKey": "default",
22 "proxyConfiguration": { "useApifyProxy": True },
23}
24
25
26run = client.actor("parsebird/djinni-jobs-scraper").call(run_input=run_input)
27
28
29print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
30for item in client.dataset(run.default_dataset_id).iterate_items():
31 print(item)
32
33