1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "country": "GB",
10 "enableJobSearch": True,
11 "jobKeywords": [
12 "python developer",
13 "data engineer",
14 ],
15 "jobLocation": "London",
16 "jobType": "any",
17 "jobDaysBack": "7",
18 "radiusMiles": 50,
19 "remoteOnly": False,
20 "jobsPerQuery": 10,
21 "fetchJobDetails": False,
22 "enableJobDetails": False,
23 "jobIds": [],
24 "jobUrls": [],
25 "enableCompanyJobs": False,
26 "companyNames": ["GCS"],
27 "jobsPerCompany": 10,
28 "enableScrapeByUrl": False,
29 "scrapeUrls": [],
30 "webhookFormat": "json",
31 "proxyConfiguration": {
32 "useApifyProxy": True,
33 "apifyProxyGroups": ["RESIDENTIAL"],
34 "apifyProxyCountry": "GB",
35 },
36}
37
38
39run = client.actor("b2b_leads/jobserve-real-time-data").call(run_input=run_input)
40
41
42print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
43for item in client.dataset(run.default_dataset_id).iterate_items():
44 print(item)
45
46