Skip to content

This is the Java example code FlixMobility provides for the Public API.

Notifications You must be signed in to change notification settings

flix-tech/public-api-java-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is the Java example code FlixMobility provides for the Public API. Please refer to the online documentation we provide on our Developer Portal.

Dependencies

  • Java 11
  • Maven

Quick start

  1. Replace the values of INTEGRATION_EMAIL, INTEGRATION_PASSWORD and INTEGRATION_TOKEN in /src/main/java/com.flixbus.api.util.ExampleCodeHelper with your credentials.
  2. Run the main method in /src/main/java/com.flixbus.api.SearchExample.

How to use the examples

The examples reflect use cases like Search and Booking which includes necessary steps like authentication or getting passenger details. So if you are specifically looking for an example on how to accomplish authentication for instance you can find this in the code of those examples.

We provide the example code in order to reduce your effort during the implementation of your client. You might want to consider to use the classes in package com.flixbus.api.domain as is since the deserialization from api responses works out of the box (using the Jackson library).

However we do not make any warranties about the completeness of the code. You will need to implement your client due to your business requirements.

About

This is the Java example code FlixMobility provides for the Public API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages