Originally Posted by
El_Duderito
I am using the following URL with $to and $from to get results for other airports:
Code:
"http://www.britishairways.com/solr/lpbd/lpfdestinations?fq=(departure_city:".$from."+OR+departure_airport:".$from.")+AND+dep_city_name:***+AND+arr_city_name_search:***+AND+(arrival_city:".$to."+OR+arrival_airport:".$to.")+AND+trip_type:RT+AND+cabin:".$class."&fl=proxy_price,is_sales_fare,route_connection_ind,rounded_lowest_each_way_price,number_of_nights,arr_city_name,trip_type,dep_lpf_city_airport_display,dep_airport_name,rounded_lowest_price,lowest_price,dep_city_name,arrival_airport,arr_lpf_city_airport_display,arrival_city,departure_airport,cabin,region_code,arr_airport_name,currency_code,departure_city,departure_country_code&facet.pivot=month_string,is_sales_fare&facet=true"
Problem with this is that some origins don't mandate to include fuel surcharges etc and and thus the base price is shown.
There's also issues where randomly YQ is missing from the fare and it appears that LHR-RAK is only 15 GBP return for instance. When looking for availability it's obviously not there.
That is an interesting interface. Is there any documentation on this? I've so far only played around with the IAG/BA developer API.