1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "enableJobSearch": True,
10 "jobKeywords": ["software engineer"],
11 "jobLocation": "London",
12 "jobTitle": "",
13 "jobCompany": "",
14 "jobTypes": [],
15 "jobEmploymentHours": [],
16 "jobRemote": [],
17 "jobDatePosted": "any",
18 "jobSort": "relevance",
19 "graduateOnly": False,
20 "directEmployerOnly": False,
21 "hideTrainingJobs": False,
22 "salaryFrom": 0,
23 "salaryTo": 0,
24 "proximityMiles": 10,
25 "jobsPerQuery": 25,
26 "fetchJobDetails": True,
27 "enableCompanyJobs": False,
28 "companyUrls": [],
29 "jobsPerCompany": 25,
30 "enableScrapeByUrl": False,
31 "jobUrls": [],
32 "maxItems": 10000,
33 "webhookUrl": "",
34 "webhookFormat": "json",
35 "includeRaw": False,
36 "proxyConfiguration": {
37 "useApifyProxy": True,
38 "apifyProxyGroups": ["RESIDENTIAL"],
39 "apifyProxyCountry": "GB",
40 },
41}
42
43
44run = client.actor("b2b_leads/reed-jobs-real-time-data").call(run_input=run_input)
45
46
47print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
48for item in client.dataset(run["defaultDatasetId"]).iterate_items():
49 print(item)
50
51