1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "postings": [
9 {
10 "id": "job-1",
11 "title": "Sr. Backend Engineer (Python) - Remote, US",
12 "location": "Remote - US",
13 "company": "Acme",
14 "text": "Fully remote, open to candidates based in the United States or Canada. Base salary $160,000 - $200,000 per year plus equity. 5+ years of experience with Python, Django and PostgreSQL. We are unable to sponsor visas. Full-time.",
15 },
16 {
17 "id": "job-2",
18 "title": "Data Analyst (m/w/d)",
19 "location": "Berlin, Germany",
20 "text": "Hybrid role, 3 days a week in our Berlin office. €55.000 - €65.000 per year. SQL, Python and Tableau. Fluent German required.",
21 },
22 {
23 "id": "job-3",
24 "text": """Freelance Product Designer - Remote (EMEA)
25$60 - $80 per hour, 6-month contract. Figma and design systems experience.""",
26 },
27 ] }
28
29
30run = client.actor("keith-apis/job-posting-parser").call(run_input=run_input)
31
32
33print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
34for item in client.dataset(run.default_dataset_id).iterate_items():
35 print(item)
36
37