Compare Flight Prices

ÜCRETSİZ PREMIUM
Taraf OBryan Software | Güncelleyen vor 15 Tagen | Transportation
Popülerlik

9 / 10

Gecikme

684ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

GetPrices reply: empty body

Rapid account: Cjsuarez
cjsuarez
vor 4 Jahren

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?

Rapid account: Muhler
muhler Commented vor 2 Jahren

same here, no results, really disappointing

Rapid account: Compunuke
compunuke Commented vor 3 Jahren

Still broken

Rapid account: Saurabh V Shanbhag
saurabh.v.shanbhag Commented vor 3 Jahren

Same issue. Looks like the API is broken

Rapid account: Raymond Chan
raymond.chan Commented vor 3 Jahren

same here

Rapid account: Black Muh Q
BlackMuhQ Commented vor 4 Jahren

Same here…

Rapid account: Amyh 97
Amyh97 Commented vor 4 Jahren

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

Rapid account: Cjsuarez
cjsuarez Commented vor 4 Jahren

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.

Rapid account: Cjsuarez
cjsuarez Commented vor 4 Jahren

?

Rapid account: Idegoest
idegoest Commented vor 4 Jahren

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

Thanks.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun