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 ],
16 "keywords": [
17 "Python",
18 "PyTorch",
19 "LLM",
20 "machine learning",
21 ],
22 "companies": [
23 "OpenAI",
24 "Anthropic",
25 "Google",
26 "Meta",
27 ],
28}
29
30
31run = client.actor("lissome_dancer/ai-ml-jobs-scraper").call(run_input=run_input)
32
33
34print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
35for item in client.dataset(run.default_dataset_id).iterate_items():
36 print(item)
37
38