Skyscanner response contains so many OutboundLegId and InboundLegId? - php

I am using Skyscanner travel api and getting response successfully.
There are so many OutboundLegId and InboundLegId in the response.
I just want to show flights for the selected destination. please see attachment.
For this, Should I extract all the OutboundLegId and InboundLegId for required data or just first array record?
http://business.skyscanner.net/portal/en-GB/Documentation/FlightsLivePricingQuickStart
and I used below code:-
Skyscanner API for all airport locations and Travel API using CURL
Because each contains agents and other data.
Should I show all data on my site or need to use first 5-10 records only?
Please advice me on this.

Add this in the query string with session key &pageindex=1&pagesize=10

Related

MapQuest API - Insight from users

I need to be able to extract a list of states the route passes through. Is there any functionality within the api that will provide this information?
e.g. A route that crosses 6 states from start point to end point. Get list of states. Preferably in order of crossing.
I'm not looking for code help. I've searched through the api and google with no results.
There is no function in the MapQuest directions api that returns a list of states for a route. But if the stateBoundaryDisplay parameter is set to true, the response will contain details like, "Crossing into Nebraska", in the maneuver text. The manuevers will be in the correct order.

Sabre deeplink for meta searches

We are building a booking engine that needs to provide xml feed to 3rd parties meta search sites like Skyscanner, CheapFlights etc.
Issue we are having here is that we need to provide a "link"/"deeplink" so that they can land on the exact flights on click through.
What is the best way to achieve this? I cant find a unique flight ID in the BFM request which I can use to do another request to get that single flight when user click on the deeplink.
Has anyone thought of a way to make it happen?
Will be using PHP to code this out.

MyIntervals API multiple persons contact information in one request

I'm trying to make app that use myintervals API.
And I need to check for project members contact information.
In order to make API call for each person for it contacts, I'd like to dump contacts for all persons in project(or company), so I could make 1 API request, not a 100.
Unfortunately I didn't found how to perform such request.
May I have some help about it?
According to the API definition the person resource expects an integer so there isn't a way to exclude it or add more than one id via a comma-delimited list of people ids.
http://www.myintervals.com/api/resource.php?r=personcontact
The only way to get at them will be one per request. Try sending an email to support to see if the requirement can be lifted or modified to allow multiple ids to be sent.

How to search in foursquare api using more than id

I was integrate foursquare api with my website.I want to search in foursquare by sending array of ids to api and retrive data of each id .
What i found searching using only id like that
https://developer.foursquare.com/docs/venues/venues I want to search with array of ids
There's no way to plug in a list of venue ID's to the API and get back responses, and using the venue details call you linked to is the only way. However, using a multi request could help reduce the number of calls?

Amazon Product Availability

Many products on amazon are unavailable but a date is given for when they'll be in stock. I've used AWS and got an XML reply but I can't find the date information anywhere. Is it possible to get this information? Thanks.
NOTE: This is what i've got as a request, what should I alter?
http://ecs.amazonaws.com/onca/xml?AWSAccessKeyId=MYID&AssociateTag=MYTAG&ItemId=THEITEMID&Operation=ItemLookup&ResponseGroup=Large&ReviewSort=-HelpfulVotes&Service=AWSECommerceService&Signature=MYSIGNATURE&Timestamp=2009-12-04T17%3A35%3A43Z&Version=2009-06-01
You probably want either PublicationDate or ReleaseDate. You need to be sure that you're requesting a ResponseGroup that has this data in it. ItemAttributes has both, but there may be other groups that include them also.
Amazon Response Elements

Categories