1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "Sort": "urn:expediagroup:taxonomies:core:#bdb0015d-63cc-4f9f-be86-3f973867ba30",
10 "Urls": ["https://www.expedia.com/Prague-Hotels-Hermitage-Hotel-Prague.h2434356.Hotel-Information?chkin=2025-08-19&chkout=2025-08-20&x_pwa=1&rfrr=HSR&pwa_ts=1754814635849&referrerUrl=aHR0cHM6Ly93d3cuZXhwZWRpYS5jb20vSG90ZWwtU2VhcmNo&useRewards=false&rm1=a2®ionId=2872&destination=Prague%2C+Czechia&destType=MARKET&neighborhoodId=6175677&latLong=50.08718%2C14.42564&sort=RECOMMENDED&top_dp=112&top_cur=USD&userIntent=&selectedRoomType=314041214&selectedRatePlan=381270028&searchId=da51d7da-2c8d-495e-81a1-8ced05303f68"],
11 "proxyConfiguration": {
12 "useApifyProxy": True,
13 "apifyProxyGroups": ["RESIDENTIAL"],
14 },
15}
16
17
18run = client.actor("getdataforme/expedia-reviews-spider").call(run_input=run_input)
19
20
21print("πΎ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
22for item in client.dataset(run["defaultDatasetId"]).iterate_items():
23 print(item)
24
25