skyscanner-flight-api-client

Client for Skyscanner Flight Search API hosted in Rapid Api

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.github.romankh3
ArtifactId

ArtifactId

skyscanner-flight-api-client
Last Version

Last Version

0.1.10
Release Date

Release Date

Type

Type

zip
Description

Description

skyscanner-flight-api-client
Client for Skyscanner Flight Search API hosted in Rapid Api
Project URL

Project URL

https://github.com/romankh3/skyscanner-flight-api-client
Source Code Management

Source Code Management

https://github.com/romankh3/skyscanner-flight-api-client

Download skyscanner-flight-api-client

Dependencies

compile (3)

Group / Artifact Type Version
com.fasterxml.jackson.core : jackson-annotations jar 2.10.0
com.fasterxml.jackson.core : jackson-databind jar 2.10.0
com.konghq : unirest-java jar 3.2.00

runtime (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.18.10

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 2.26.0

Project Modules

There are no modules declared in this project.

skyscanner-flight-api-client

Maven Central jCenter

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);

Versions

Version
0.1.10
0.1.9
0.1.8