Compare Flight Prices

부분 유료
분류별 OBryan Software | 업데이트됨 일 년 전 | Transportation
인기

0.4 / 10

지연 시간

36,400ms

서비스 수준

40%

모든 토론으로 돌아가기

GetPrices reply: empty body

avatar
cjsuarez
3년 전

I first make this call:
var client = new RestClient(“https://compare-flight-prices.p.rapidapi.com/GetPricesAPI/StartFlightSearch.aspx?date2=2020-10-12&islive=true&lapinfant=0&child=0&city2=SFO&date1=2020-10-01&youth=0&flightType=2&adults=2&cabin=1&infant=0&city1=BOS&seniors=0”);
var request = new RestRequest(Method.GET);
request.AddHeader(“x-rapidapi-host”, “compare-flight-prices.p.rapidapi.com”);
request.AddHeader(“x-rapidapi-key”, “fe…13”);
IRestResponse response = client.Execute(request);

And then this one:
var client = new RestClient(“https://compare-flight-prices.p.rapidapi.com/GetPricesAPI/GetPrices.aspx?SearchID=ap-4CRC3Ot2KFEU9W5X”);
var request = new RestRequest(Method.GET);
request.AddHeader(“x-rapidapi-host”, “compare-flight-prices.p.rapidapi.com”);
request.AddHeader(“x-rapidapi-key”, “fe…13”);
IRestResponse response = client.Execute(request);

However, the reply of the 2nd API call always comes with an empty body. Any idea why?

avatar
muhler commented 일 년 전

same here, no results, really disappointing

avatar
compunuke commented 2년 전

Still broken

avatar
saurabh.v.shanbhag commented 2년 전

Same issue. Looks like the API is broken

avatar
raymond.chan commented 2년 전

same here

avatar
BlackMuhQ commented 2년 전

Same here…

avatar
Amyh97 commented 3년 전

I was able to get the string to then get prices, but that call just returned []

avatar
cjsuarez commented 3년 전

I just tried again and got this output:
[{“site”:“expedia”,“lowestPrice”:100000,“url”:“https://bit.ly/3eEl8pV",“pricePer”:"Price Per Passenger”},{“site”:“travelocity”,“lowestPrice”:100000,“url”:“https://bit.ly/2B8Sboi",“pricePer”:"Price Per Passenger”},{“site”:“orbitz”,“lowestPrice”:100000,“url”:“https://bit.ly/39iuhnb",“pricePer”:"Price Per Passenger”}]

…this seems very little information. And I guess this API is not for me.

avatar
cjsuarez commented 3년 전

?

avatar
idegoest commented 3년 전

I had the same experience as CJ. Is there any reason there is no response to the second API call?

Thanks.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입
등급: 2.3 - 투표: 3