skyscanner-flight-api-client
April 2, 2020 ยท View on GitHub
Description
Published on Maven Central and jCenter Client for Skyscanner Flight Search API hosted in Rapid Api
Latest version 0.1.10
Release Notes
0.1.10
- provided build.gradle and publish process via bintray-gradle-plugin
0.1
- added Places call
- added Localisation call
- added browse quotes for Browse Flight Search
Plans to add
- add all the requests for Browse Flight Search
- add Live Flight Search
Usage
Skyscanner has four groups of requests and all has public interfaces with implementations for using.
- Places(added) -> PlacesClient ^ PlacesClientImpl
- Browse Flight Prices(added one request) -> BrowseFlightPricesClient -> BrowseFlightPricesClientImpl
- Localisation(added) -> LocalisationClient ^ LocalisationClientImpl
For example LocalisationClient:
String xRapidApiKey = YOUR-API-KEY;
LocalisationClient client = new LocalisationClientImpl();
List<CurrencyDto> currencyDtos = client.retrieveCurrencies(xRapidApiKey);
// or
String locale = "ru-RU";
List<CountryDto> countryDtos = client.retrieveCountries(locale, xRapidApiKey);