1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "hotels": [
9 {
10 "name": "Hilton New York Times Square",
11 "isMine": True,
12 "links": ["https://www.tripadvisor.com/Hotel_Review-g60763-d208453-Reviews-Hilton_New_York_Times_Square-New_York_City_New_York.html"],
13 },
14 {
15 "name": "Jerome House Prague",
16 "links": ["https://www.booking.com/hotel/cz/jeromehouse.en-gb.html"],
17 },
18 ] }
19
20
21run = client.actor("ironlabs/hotel-reputation-report").call(run_input=run_input)
22
23
24print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
25for item in client.dataset(run.default_dataset_id).iterate_items():
26 print(item)
27
28