晚上好,
我一直在探索 API,发现不支持往返圭亚那的航班。我尝试过使用 instaflightsearch、航班票价、城市对、领先价格日历等。
每次我尝试输入圭亚那国家代码 (GY) 或我们主要国际机场 (GEO) 的机场代码时,都会收到类似于以下内容的错误:
Warning: file_get_contents(https://api.test.sabre.com/v2/shop/flights/fares?origin=GEO&destination=JFK&departuredate=2015-12-30&lengthofstay=3,4,5,6,7): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in APIHandler->get() (line 132 of C:\xampp\htdocs\drupal7\sites\all\modules\custom\sabre\classes\APIHandler.php).
Warning: file_get_contents(https://api.test.sabre.com/v1/lists/supported/shop/flights/origins-destinations?origincountry=GY): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in APIHandler->get() (line 132 of C:\xampp\htdocs\drupal7\sites\all\modules\custom\sabre\classes\APIHandler.php).
请注意,如果我使用 JFK、LAX、LAS 等其他机场代码,API 会返回结果。
我不确定如何进行。我确定我缺少一些东西。请指出我正确的方向。
非常感谢你
旁注:我愿意为任何可以帮助我的人提供 100 赏金。