1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "query": "marketing manager in new york via linkedin",
10 "page": 1,
11 "num_pages": 1,
12 "country": "us",
13 "date_posted": "all",
14 "language": "en",
15 "details_enabled": False,
16 "details_job_ids": ["-uNPnvjFRt1PgXtJAAAAAA=="],
17 "salary_enabled": False,
18 "salary_job_title": "marketing manager",
19 "salary_location": "new york, ny",
20 "years_of_experience": "ALL",
21 "salary_location_type": "ANY",
22 "company_salary_enabled": False,
23 "company_salary_company": "Google",
24 "company_salary_job_title": "marketing manager",
25 "company_salary_location": "new york, ny",
26 "company_salary_years_of_experience": "ALL",
27 "company_salary_location_type": "ANY",
28}
29
30
31run = client.actor("igview-owner/jobs-scraper").call(run_input=run_input)
32
33
34print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
35for item in client.dataset(run["defaultDatasetId"]).iterate_items():
36 print(item)
37
38