阿玛迪斯酒店API图片 [英] Amadeus Hotel API Images

查看:99
本文介绍了阿玛迪斯酒店API图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过您的自助API获取酒店房间的图片吗?企业API是否支持此功能?

Is there any way for me to get Hotel's room images from your self-service API? Does the enterprise API support this functionality?

根据您自己的文档,此类信息应通过以下标记提供:

Based on your own documentation this type of information should be available through the following tag:

"media": [{
            "uri": "string"
          }]

,但是我没有使用当前正在测试的任何搜索条件来获取此标签。

but I'm not getting this tag using any of the search criteria that I'm currently testing with.

推荐答案

编辑

此问题与可用的新版本(v2)中的Hotel Search API v1有关,默认情况下,view = FULL已设置。

This question was related to the Hotel Search API v1 in the new version available (v2) the view=FULL is set by default.

您需要添加:


view = Full

view=FULL

在查询中获取媒体。

例如:


https://test.api。 amadeus.com/v1/shopping/hotel-offers?cityCode=LON&view=Full

注意:我们仅在测试环境中只有几张图像,大多数响应包含伪造的图像。

Note: we only have a few images in the test environment, most of the responses contain a fake image.

这篇关于阿玛迪斯酒店API图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆