1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "jobKeywords": ["software engineer"],
10 "jobTitle": "Software Engineer",
11 "jobCompany": "",
12 "jobSkills": [],
13 "jobLocation": "New York, NY",
14 "radiusMiles": 25,
15 "jobExperienceLevels": [
16 "internship",
17 "entry",
18 "associate",
19 "mid_senior",
20 "director",
21 "executive",
22 ],
23 "jobTypes": [
24 "full_time",
25 "part_time",
26 "contract",
27 "temporary",
28 "internship",
29 ],
30 "jobRemote": [
31 "onsite",
32 "remote",
33 "hybrid",
34 ],
35 "jobDatePosted": "any",
36 "jobsPerQuery": 25,
37 "industryFilter": "",
38 "educationLevels": [],
39 "easyApply": False,
40 "externalApplyOnly": False,
41 "excludeListingKeys": [],
42 "enableCompanyJobs": False,
43 "companyNames": [],
44 "jobsPerCompany": 25,
45 "enableScrapeByUrl": False,
46 "scrapeUrls": [],
47 "fetchJobDetails": True,
48 "includeRaw": False,
49 "webhookUrl": "",
50 "webhookFormat": "json",
51 "country": "us",
52 "maxItems": 10000,
53}
54
55
56run = client.actor("b2b_leads/ziprecruiter-job-real-time-data").call(run_input=run_input)
57
58
59print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
60for item in client.dataset(run["defaultDatasetId"]).iterate_items():
61 print(item)
62
63