1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "projectSearch",
10 "searchQueries": ["python"],
11 "startUrls": [],
12 "category": "",
13 "country": "",
14 "city": "",
15 "industry": "",
16 "remoteType": "",
17 "contractType": "",
18 "sortBy": "newest",
19 "endClientOnly": False,
20 "includeDachRegion": False,
21 "technologySlug": "",
22 "language": "",
23 "hasAttachmentsOnly": False,
24 "openToPermanentJobs": False,
25 "openToAgencyContract": False,
26 "excludeUnavailable": False,
27 "recentlyActiveOnly": False,
28 "requireDisplayedName": False,
29 "verifiedOnly": False,
30 "includeDetails": False,
31 "projectSlugsOrUrls": [],
32 "profileSlugsOrUrls": [],
33 "availableOnly": False,
34 "maxItems": 1,
35}
36
37
38run = client.actor("xyrelith-data/freelancermap-it-projects-and-freelancer-finder").call(run_input=run_input)
39
40
41print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
42for item in client.dataset(run.default_dataset_id).iterate_items():
43 print(item)
44
45