Compare Flight Prices

फ्रीमियम
द्वारा OBryan Software | अपडेट किया गया एक वर्ष पहले | Transportation
लोकप्रियता

0.4 / 10

लेटेंसी

41,715ms

सेवा का स्तर

31%

सभी चर्चाओं पर वापस जाएं

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