1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sources": [
10 "greenhouse",
11 "lever",
12 "remoteok",
13 "weworkremotely",
14 "yc",
15 "otta",
16 "ashby",
17 ],
18 "keywords": [
19 "Python",
20 "PyTorch",
21 "LLM",
22 "machine learning",
23 ],
24 "companies": [
25 "OpenAI",
26 "Anthropic",
27 "Google",
28 "Meta",
29 ],
30 "experienceLevels": [
31 "intern",
32 "entry",
33 "mid",
34 "senior",
35 "staff",
36 "lead",
37 "executive",
38 ],
39}
40
41
42run = client.actor("lissome_dancer/ai-ml-jobs-scraper").call(run_input=run_input)
43
44
45print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
46for item in client.dataset(run.default_dataset_id).iterate_items():
47 print(item)
48
49