Flight Inspiration Search Fail in Production in Self-service - amadeus

I am running amadeus Flight Inspiration Search, in Production mode
I get error 500 when I use Airport code 'CAI' for Cairo Egypt
I thought all airports are supported by amadeus
Nevertheless, there is no error when I use 'MAD' Airport
amadeus = Client(hostname='production',client_id='........)
response = amadeus.shopping.flight_destinations.get(origin='CAI')

The Flight Inspiration API is built on top of a pre-computed cache, it doesn't contain all the origins and destinations. The Flight Low-fare Search will provide you a coverage of (almost) all airports in the world.
We will update soon the data coverage we have for this API to drastically improve the list of origins and destinations.

Related

Static data query - self service Amadeus API in production environment

I am currently developing a web app using self-service Amadeus API in a production environment, I have questions related to the static data, kindly reply.
Questions:
1. Is there any static data available related to flights schedule or any other detail which we can store on our end and get it synced in some scheduled manner, in place of fetching all data every time using APIs.
2. In case we have static data then what will be the ideal time duration to refresh data.
3. Are we allowed to store real-time data on our end temporarily? If yes then for what duration we can keep a copy of same.
4. Is there any API where we will send a list of Flight/Segment Id and get details only of those selected records. What I mean is we like to know details of 10 specific flights/segments. So can we get the information related to those 10 flights/segments whose id we will pass to API?
5. What's the response time of search API and API which returns details of the flight.
6. What all filters available in search API to filter data.
As of today, ee do not provide static data for flights schedule
/
You are allowed to store the data coming from the flight search API as long as you do not resell it in any way. Keep in mind that this data changes a lot (price/availability)
You can use the Flight Offers Price API for this. Flight Offers Price takes a list of flight-offers (that you get by using the Flight Offers Search API). For those flights-offers the API revalidates the price and the availability.
It depends on where you are based, which API you use and how you use it (filters), you can try our APIs for free in our test environment. Keep in mind that the test environment is limited in terms of the number of API calls, data and has a slower response time than the production environment
Our catalog is fully open (no need to register) you can find the Flight Offers Search reference documentation here listing all the parameters available. The Flight Offers Search API has 2 endpoints:
GET a simpler version of the search, easy and fast to implement but offering less filtering
POST offering a full access to all the functionalities of the flight search

Flight-Orders Self-Service API payment options

Question1:
I have tested Flight-Orders API which shows in beta state. Can we use this API in production and if yes, what are the payment methods to use?
Question2:
While testing self-service API's I have been able to run workflow below
Flight-Offers V2 (https://test.api.amadeus.com/v2/shopping/flight-offers)
Flight-Offers/Pricing using result from 1 (https://test.api.amadeus.com/v1/shopping/flight-offers/pricing)
Flight-Orders using output from 2 (https://test.api.amadeus.com/v1/booking/flight-orders)
But, result from Flight Low-Fare Search (https://test.api.amadeus.com/v1/shopping/flight-offers) is missing fields to be used in flow above. Are results from Low-Fare results not intended to be used for any consecutive action like pricing/order?
Question 1:
The API is in beta because we are piloting the access in production with beta testers. We are still accepting pilots, if you are interested you can contact us at developers#amadeus.com.
After the testing phase, the production will be opened to everybody. The payment methods are the same as for the other APIS:
Credit card payment
Bank transfer
Question 2:
You are 100% right, Flight Low-fare Search is version 1 of our flight search. It will be decommissioned for Flight Offers Search (version 2 of our flight search) in the future.
And you are right about the flow:
Flight Offers Search -> Flight Offers Price -> Flight Create Orders
We will communicate more about it in the future but you can take a look at this blog article.

How do web comparison websites like kayak get their data?

I have been looking online and saw many similar/same posts but all were extremely old (latest I found was from 2011) so since technology changes, I thought I ask too.
I wonder how a flight comparison website (where you cannot book flights and can only be redirected to other websites) get their data.
Is it all by now through api's or is it throgh scrapping data (which would be not so reliable)? Ive been reading online, trying to find out if thats the case but it doesnt really seem that EVERY airline and EVERY flight search website (with booking option) provides an api. So I wonder how sites like Kayak get their data if not every airline/every flight booking website provides an api?
Also, I came across some api's like
QPX Express API
skyscanner travel api (which I checked out on some website which is using it and it does seem that data is quite limited ?!)
Travelport api
Amadeus API
Sabre travel api
Wego Affiliate Network (which seems really great but search takes super long)
I wonder if anyone has experience with the mentioned api's and how good their are /if using them is 'the way' of doing it or if its actually much more realiable to request data directly from each airline and booking website (if thats possible)?
Thanks a lot!
If we take Kayak as the example, as that is who you mentioned, they approach the data in two forms.
They have API PULL connections to GDS companies (i.e. Sabre), some airlines and large online travel companies such as Expedia etc.
Smaller airlines in particular PUSH their inventory and fares from their inventory to companies such as Kayak.
Aggregation companies generally provide PUSH access though companies who want to PUSH their data have to comply with the aggregators requirements/standards.
It is a supply and demand service. Aggregation companies will generally request access to large established companies, however, will also allow companies to push their data to them if they wish.
The data is not normally scrapped, it is through API and web service platforms.

Which Amadeus API will return the flight details with price?

I am working on the Amadeus API and using the Air_MultiAvailability. it gives me the flight search results data but not giving me the flight price. SO i need to get the all the flight details with price.
I don't know that i am using the correct API or not but i looking the flight search data with price details.
Kindly help
If you want to get started quickly to test, you may want to consider using the Amadeus Travel Innovation Sandbox Flight Low Fare Search API.
If you are using Amadeus Web Services, a good starting point is the Fare_MasterPricerTravelBoardSearch message. The Amadeus WBS Implementation Guide - Internet Booking Engine with Master Pricer document which you can find on the webservices portal may also be useful to you.
You can have both price and availibility with a product like MasterPricer.
Otherwise you should use Fare_PricePNRWithBookingClass
I have just used the Amadeus and find the flight search and flight details and also FlightBooking.
To get the Flight Search use Fare_MastepricerTravelBoardSearch
To Get the Flight Details with Price use Fare_InformativeBestPricingWithoutPNR
if you need more info please ask, i am able to answer related to Amadeus

Yelp API : Retrieving reviews of a business

IS there any way I could retrieve all the reviews of a business Using the API ?
The sample response here just shows 3
http://www.yelp.com/developers/documentation/v2/business
In v3 yelp has a reviews API and it returns only three reviews per business.
Yelp Business Reviews v3
Unfortunately, yelp restricts reviews access via APIs. With the V2.0, it is restricted to just one review snippet, which is also truncated after 40 chars.
An alternate that you could try is to use web scraping platforms such as scrapy. Again, the challenge here is that, yelp changes its layout pretty often just to make sure you don't scrape out their data and hence, your scripts will likely fail after sometime.