手记

全球酒店详情查看API接口-基于极核数据

此接口可以根据城市名称查询全球酒店信息

1.根据城市查酒店

·         接口地址:http://api.data-ranking.com/booking/search

·         支持格式:JSON

·         请求方式:GET

·         请求示例:http://api.data-ranking.com/booking/search?appkey=APPKEY&city=广州&p=67

·         请求参数:

名称

类型

必填

说明

key

String

应用APPKEY

city

String

城市名称

p

String

页数,默认返回第一页

·         返回参数:

名称

类型

说明

count

Int

酒店数量

total_page

Int

翻页总数,每页返回15条

hotels

Array

酒店信息列表

photo

String

酒店图片

hotel_name

String

酒店名称

detail_code

String

酒店详情码

star

String

酒店星级

address

String

酒店地址

desc

String

酒店描述

·         返回示例:


{

    "status": 1,

    "msg": "api调用成功",

    "data": {

        "count": "1221",

        "total_page": "67",

        "hotels": [

            {

                "photo": "http://r-cc.bstatic.com/images/hotel/square200/608/60887228.jpg",

                "hotel_name": "星河湾半岛酒店(原广州星河湾•海怡半岛酒店)",

                "detail_code": "c9O3tMj39oYqpSFL6 gTlLKRR0tfbPusVdd8IvV 0ffR8klCUyFw8UPhOaKOxL0XluEJA5d67ht7UuiJXU/oEYdlWxFXVvHL08mPGbS8Re yUsRgYHjG5p9xOqFJq5fAwmMTn0YWVwJC0nfVRk3CMf8 r3btWB8DvsMtjBr/sZi8SKD9ZwaxcdokMPpjVj8OnFN32DiNYAieYdeJT1KK36RsbtmmYDvyugtRHR0TipuynaiJP44Ktd2y/tCRazq1XUEEk0khru6rszakiev1PE2LLGCYivrxm4j3sGrQhCci4R0/J8Ag2H0QUBxVZbz4sPlTVfHVM8Yjzxon9vuIiMh6NufCs4HPxS/MKA3TxgRk GkHjTED 8yfKxuFb1oZEywfXUlsgNEjAnMMgrD1/QV73qKKeC85O/mGisEIhBYX14WUIKyS50RItnWdS3W7rgr/n4nyUV py0Zi8EEE0u9bR8z9AfIkE91MCmwMm5ZzCo2lxp2idBiCIb9Fryi8",

                "star": "",

                "address": "番禺区,广州",

                "desc": "星河湾半岛酒店享有珠江的景致,毗邻沙滘岛的番禺大桥,提供精品住宿、网络连接、2个餐饮场所和2个游泳池。..."

            },

            {

                "photo": "http://r-cc.bstatic.com/images/hotel/square200/168/16805922.jpg",

                "hotel_name": "广州正佳金殿公寓",

                "detail_code": "xYiF96wtOrZcYpM8EoYDk7CVkQD3puCJZI8QnyxTegelzbWaQmiSeki8zwto R04UIFk3MAavn8vECRd3nHtBWDhMXFF14qF9J2TNbBPFlEzYtM96H6J64McSISdb41WC1O2JYVukYe5GVsPRYiuZmSPyi8AnDlmylHq/BvdJTngKtggYZeQlCK8W2zVmflyWEOGHJO8p5mjxPl34UVmK 9 zljQqPSN Z6s2IA7exSjV7mkGmDCmu9ytvz406QCJ3TTSlodEgnt461/X4/iHFWiGQJBF0dXNLEw0B9rNVuwKaEM8/lu6CIgpkud2d06te8Kurxjom7FW3T7H9Iv9rkHG1fnaCarBTVTrZHa30umhJJ8VJ0cPkgn ZXDQ4DJuDTEC5Lf79i4kLD8BTDCVz2s8gYXcIrQx8ye9wftEWRTfbD74YHisFpFcO65DLulRmUpkHWWd5AjCwsyHc25QSP3QPpxuK8s3 1yOX6 BXk3C0P6ye4AN3Dvl7gOLU2I",

                "star": "这家住宿参与了我们的首选住宿项目。首选住宿以优惠的房价提供卓越的服务及极高的性价比。住宿需满足特定资质条件,并综合曾入住客人的反馈方有资格参加。",

                "address": "天河区,广州【广州中央商务区】",

                "desc": "广州正佳万豪金殿公寓位于正佳广场的第25层至41层,距离天河城购物中心和体育西路地铁站有5分钟步行路程。..."

            },

            {

                "photo": "http://r-cc.bstatic.com/images/hotel/square200/115/11562059.jpg",

                "hotel_name": "星驿国际公寓(广州昌岗店)",

                "detail_code": "aaHc4 1sXev1Buy3i3FHE3E5ykHtxmGbIwpbjaw2bL/SRz9afYsJggcR1cXM1YK9azqizD5MQA3BFYk6Z4hAsh7EZyc2FN8gbuF7srLtSa3PlEsZpGf8pP g509fnaRCZAWaNxXoqKRfBpKe4IlSkqMuI7v7oQtfv5F9gO3R2NL/XSBfmWrvm692cDwu80A8vpcDiBqNhsLMtSVyZM0j9NgnBoLMchhEkIXUtYHnj5oXrEvbe/YCgx6VOadD4Li0kbPbFKJJZg1M38C7/XwTfG9h4TU2QLK1QkEz90v4BsfgT42uUW5UceG6jsrtOfBbr V dI59D0l3gFHE7uSO7kZ/Z6kTKGXmuFlBERRbUNiREowAQh8si0D0Mg8IGTG8qY BTwQ52hnwYIDlzL2get7TJOmmokE7Q9MyZuiLF7YEqcD rrzgSrGbS/YlTShAQ/SqPHfQZV5/b/5qmjykQQ==",

                "star": "这家住宿参与了我们的首选住宿项目。首选住宿以优惠的房价提供卓越的服务及极高的性价比。住宿需满足特定资质条件,并综合曾入住客人的反馈方有资格参加。",

                "address": "海珠区,广州–靠近地铁站",

                "desc": "广州星驿国际酒店公寓距离琶洲展馆有10分钟车程。昌岗地铁站的出口F(2和8号线)就在酒店的负二层。酒店设有带小厨房的宽敞客房、免费无线网络连接和内部免费停车场。..."

            },

            ......

        ]

    }

}

 

 

2.酒店详情查看

·         接口地址:http://api.data-ranking.com/booking/detail

·         支持格式:JSON

·         请求方式:POST

·         请求示例:http://api.data-ranking.com/booking/detail

请求参数:

名称

类型

必填

说明

key

String

应用APPKEY

code

String

酒店详情码

返回参数:

名称

类型

说明

hotel_name

String

酒店名称

hotel_address

String

酒店地址

hotel_star

String

酒店星级

hotel_score

String

酒店综合评分

hotel_pictures

Array

酒店图片展示

hotel_description

String

酒店描述

room_type

Array

房间类型

facility

Array

便利设施

checkin

String

签到时间

checkout

String

退房时间

返回示例:


{

    "status": 1,

    "msg": "api调用成功",

    "data": {

        "hotel_name": "广州圣丰索菲特大酒店",

        "hotel_address": "广州, 天河区, 广州大道中988号",

        "hotel_star": "此评级是根据该住宿的房价、设施和服务综合评定而出,仅供参考。",

        "hotel_score": "8.3",

        "hotel_pictures": [

            "http://q-cc.bstatic.com/images/hotel/max400/787/78723403.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820006.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116633.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116634.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/238/23821112.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116629.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116628.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/441/44117712.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/441/44116624.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116579.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/391/3910592.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116631.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116626.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/441/44116632.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44117680.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/126/12698096.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/126/12698103.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/126/12698009.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/441/44116622.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/238/23820906.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/126/12697989.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820258.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820011.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/441/44116623.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/441/44117679.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820564.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820162.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820712.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/238/23820864.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820803.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820981.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23821123.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/126/12698556.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23820925.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/238/23820936.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23821212.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/238/23821226.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23821434.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/126/12697894.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23821502.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/238/23821142.jpg",

            "http://q-cc.bstatic.com/images/hotel/max400/704/70443688.jpg",

            "http://r-cc.bstatic.com/images/hotel/max400/704/70443691.jpg"

        ],

        "hotel_description": " 地处广州中心位置 – 在地图上查看住宿周边 广州精选推荐之一 广州圣丰索菲特大酒店高高耸立在天河商业区,提供带40英寸平板电视和iPod基座的高雅客房。酒店的五星级设施包括一个获奖的spa和一个24小时健身中心,并提供覆盖各处的免费WiFi。 广州圣丰索菲特大酒店距离城市的标志性建筑中信广场不到1公里,距离广州火车东站有5分钟的车程,距离广州白云机场有45分钟的车程。 独具风格的客房拥有宽敞的布局,配有音响系统和舒适的扶手椅。客房内的高档设施包括免费宽带网络连接和一间带花洒淋浴设施的宽敞浴室。 客人可以在圣丰索菲特大酒店配有水下音乐管道的室内游泳池内悠闲地游泳,也可以泡在热水浴池内放松身心。为了方便客人,工作人员可提供旅行和礼宾服务。 客人可以在2 ON 988餐厅享用丰盛的国际自助餐,同时观赏5个开放式厨房的表演。Le Grill餐厅供应上等的牛排,Le Chinois餐厅供应中国特色菜肴。 \r\n 旅友们喜爱天河区的理由:美食 、高级美食 和商务出行 。 ",

        "room_type": [

            {

                "room_type": "高级大床房",

                "room_description": "宽敞的巴黎风格客房俯瞰着风景秀丽的天河天际。所有客房都配有40英寸的平面电视、DVD播放机、ipod基座和笔记本电脑大小的保险箱。浴室设有花洒和嵌入镜中的电视。",

                "room_person": "标准入住: 2"

            },

            {

                "room_type": "高级双床房",

                "room_description": "宽敞的巴黎风格客房俯瞰着风景秀丽的天河天际。所有客房都配有40英寸的平面电视、DVD播放机、ipod基座和笔记本电脑大小的保险箱。浴室设有花洒和嵌入镜中的电视。",

                "room_person": "标准入住: 2"

            },

            {

                "room_type": "豪华大床房",

                "room_description": "可供2位客人入住的宽敞客房。",

                "room_person": "标准入住: 2"

            },

            {

                "room_type": "索菲特会所豪华客房",

                "room_description": "享有行政楼层优待,包括私人登记入住/退房服务以及俱乐部的使用。 客人可使用Millesime俱乐部: - 免费早餐 - 下午茶 - 晚间品酒 - 每天使用一小时会议室。",

                "room_person": "最多成人人数: 2最多儿童人数: 1 (12岁以下)"

            },

            {

                "room_type": "索菲特高级会所大床房",

                "room_description": "享有行政楼层优待,包括私人登记入住/退房服务以及俱乐部的使用。 客人可使用Millesime俱乐部: - 免费早餐 - 下午茶 - 晚间品酒 - 每天使用一小时会议室。",

                "room_person": "最多成人人数: 2最多儿童人数: 1 (12岁以下)"

            },

            {

                "room_type": "华丽套房 - 可使用行政酒廊",

                "room_description": "宽敞的套房设有独立的起居室,享有包括私人登记入住及退房和俱乐部使用的行政楼层优惠。 客人可以享受Club Millesime: - 免费早餐 - 下午茶 - 晚间品酒 - 每天使用一小时会议室。",

                "room_person": "最多成人人数: 2最多儿童人数: 1 (12岁以下)"

            },

            {

                "room_type": "索菲特套房 - 可使用行政酒廊",

                "room_description": "设有独立的客厅和行政楼层优惠,包括私人登记入住及退房和俱乐部的使用。 客人可以享受Club Millesime: - 免费早餐 - 下午茶 - 晚间品酒 - 每天使用一小时会议室。",

                "room_person": "最多成人人数: 2最多儿童人数: 1 (12岁以下)"

            }

        ],

        "facility": {

            "宠物": [

                "不允许携带宠物入住。"

            ],

            "活动设施": [

                "室内游泳池(全年开放)",

                "热水浴池/按摩浴缸",

                "乒乓球",

                "按摩",

                "Spa及健康中心",

                "游戏室",

                "健身中心"

            ],

            "餐饮服务": [

                "小吃吧",

                "自助餐厅",

                "在客房内享用早餐",

                "酒吧"

            ],

            "网络": [

                "免费! 住宿方于各处提供WiFi(免费)。"

            ],

            "停车场": [

                "免费! 无需预订:住宿场所可提供私人停车设施(免费)。"

            ],

            "前台服务": [

                "办理私人登记入住/退房手续",

                "礼宾服务",

                "自动提款机(酒店内部)",

                "行李寄存",

                "票务服务",

                "旅游咨询台",

                "外币兑换",

                "快速办理入住/退房手续",

                "24小时前台"

            ],

            "清洁服务": [

                "每日清洁服务",

                "熨衣服务",

                "干洗",

                "洗衣"

            ],

            "商务设施": [

                "传真/复印",

                "商务中心",

                "会议/宴会设施"

            ],

            "综合设施": [

                "机场班车(额外收费)",

                "吸烟区",

                "空调",

                "租车服务",

                "保险箱",

                "电梯",

                "家庭间",

                "理发/美容中心",

                "适合残疾人士的设施",

                "禁烟客房",

                "报纸",

                "客房服务"

            ],

            "使用的语言": [

                "中文",

                "俄语",

                "荷兰语",

                "法语",

                "英语"

            ]

        },

        "checkin": " 从14:00时 ",

        "chenkout": " 12:00时之前 "

    }

}

 

 

原文链接:http://www.apkbus.com/blog-849338-61847.html

0人推荐
随时随地看视频
慕课网APP