I'm using OTA_AirAvailLLSRQ API to search flights, but it only shows 7 seats each class. I wonder is there any way or function in Sabre can show total available seats of each class.
I am brand new to Sabre and appreciate any advice on if this kind of data is possible or available.
Because LLSR service support is very limited, I would recommend looking for a newer service that allows you to retrieve all information, such as Bargain Finder Max, along the Seats Rest service which retrieves the complete seat maps for all cabins.
Best regards.
Related
I am using the Tour Planning API to route multiple trucks to deliver many orders.
The problem I am trying to solve currently is fully utilizing all of the trucks.
Let's say we have 100 deliveries to make and 7 trucks. I want the API to attempt to use all trucks (shifts). Currently, it will, at times, use 6 trucks or however most efficiently to route. This makes sense when cost savings is your only goal. The goal of our solution is also to take into account Driver Retention. If we have 7 drivers, we need to use all 7 drivers.
This feature is not yet available in the Tour planning production version. In the future, we may provide this feature where users would be able to ask Tour planning to utilize the maximum possible number of vehicles. Which in turn will use all vehicles if the number of jobs is more than the number of vehicles. Please contact HERE support or your HERE account executive to provide more input on your requirements
Is there a way to get the average number of cars per time unit on each road in a bounding-box on a map using HERE traffic API ? or na indicator of this rate ?
The final goal would be to get the info regularly, and give the option to filter and average the data over time to display the results on a map.
Thanks
This is not possible with any of the APIs currently available on our developer portal. I'm not sure this is available at all, but you can use the contact us form on the portal to enquire about our Enterprise offering around traffic.
I want to create a smart contract and launch it for ICO. I also create a website where people can buy my token. I want know how to check how many token been sold (live)? so i can create a live bar counter to show how many percentages of the token already been sold.
Or is there a way i can monitor the token sale process in the smart contract?
A token contract is no different than any other smart contract. There are no special built in Solidity features or logic associated with them. They are just regular smart contracts that follow a specification.
So, if you want access to the number of tokens sold, you code that into your contract. While tokens sold is not part of the standard ERC20/ERC721 interface, nothing prevents you from adding a constant function to retrieve this information. In fact, if you're using the basic Zeppelin Crowdsale contract, you can just calculate it using the public state variables weiRaised / rate (Chances are you should be creating your own Crowdsale subcontract, so it's better to add the functionality you want there).
We can use the Etherscan Developer API to review transactions against a given contract address and find out the total supply or number of items available for sale.
There is a lot you can do with the Etherscan Developer API. For example, here's one URL that pulls data from Ethereum Mainnet -> Etherscan -> JSON parser -> Shields.io and renders it as an image to calculate the number of Su Squares remaining for sale:
Source: https://img.shields.io/badge/dynamic/json.svg?label=Su+Squares+available&url=https%3A%2F%2Fapi.etherscan.io%2Fapi%3Fmodule%3Daccount%26action%3Dtokenbalance%26contractaddress%3D0xE9e3F9cfc1A64DFca53614a0182CFAD56c10624F%26address%3D0xE9e3F9cfc1A64DFca53614a0182CFAD56c10624F%26tag%3Dlatest%26apikey%3DYourApiKeyToken&query=%24.result
^ I don't know if SO is going to cache the image here. But that URL is a live URL which pulls the number of Su Squares available hot off the blockchain.
My app requires an "Explore Destionations" functionallity, something simillar to Google Flights' Explore Destionations featrue.
In theory, Destination Finder would have been perfect for the job. The problem is, Destination Finder doesn't seem to provide a way to search for one way trips. In other words, you have to provide a return date.
Does anyone know if there is a way to achive this, Either by using Destination Finder or using a different API?
Thanks
Bargain Finder Max, which is another Sabre Search API for flights, provides support One Way options, Round trip and Multi Destination Shopping inquiries, although It is not an Inspirational Shopping Service
Have you checked this out?
https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max
I am working on a flights planning app and considering using Sabre to handle my backend.
My app requires an "Explore Destionations" functionallity, something simillar to Google Flights' Explore Destionations featrue.
In theory, Destination Finder would have been perfect for the job.
The problem is, Destination Finder doesn't seem to provide a way to search for one way trips. In other words, you have to provide a return date.
Does anyone know if there is a way to achive this, Either by using Destination Finder or using a different API?
At the moment Destination Finder will only provide Round Trip Lead Fares as part of the Inspirational Shop request.
For One Way Shopping, you can look at the Bargain Finder Max API under Search for Air, available in both REST and SOAP.
https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max
Best
You need to use Bargain Finder Max APi
https://developer.sabre.com/docs/read/rest_apis/air/search/bargain_finder_max
Set
OTA_AirLowFareSearchRQ.TravelPreferences.TPA_Extensions.TripType.Value="OneWay"
I tired with DXB=>LHR but it returned connecting airports but for LAX=>JFK direct results I guess sabre is not strong in europe may be thats the reason