Amadeus Hotel API Images

一世执手 提交于 2020-03-05 04:10:07

问题


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.


回答1:


EDIT

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


You need to add:

view=FULL

In your query to get the media.

For example:

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.



来源:https://stackoverflow.com/questions/50595577/amadeus-hotel-api-images

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!