Skip to content

Java Client for the DB FaSta API - Station Facilities Status

License

Notifications You must be signed in to change notification settings

dbopendata/db-fasta-api-java-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Client for the DB Station Facilities Status (FaSta) API

This is a very simple Java client generated from the FaSta API specification using Swagger Codegen.

Usage

DefaultApi api = new DefaultApiFactory().createApi(accessToken);
  • Call operations:
List<Facility> inactiveElevatorFacilities = api.findFacilities(
	Arrays.asList("ELEVATOR"), Arrays.asList("INACTIVE"), null, null, null);

Facility escalator_ZuGleis10_11_Berlin_Ostbahnhof = api.getFacilityByEquipmentNumber(10441811L);

Station station_Berlin_Ostbahnhof = api.findStationByStationNumber(530L);

List<Disruption> disruptions = api.findDisruptions(null, null, null);

Disruption disruption = api.findDisruptionByDisruptionNumber(11694554L);

License

MIT license

About

Java Client for the DB FaSta API - Station Facilities Status

Resources

License

Stars

Watchers

Forks

Packages

No packages published