Skip to content

janikoskela/HSL-Journey-Planner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HSL Journey Planner Client

Simple java client library for the use of HSL's (Helsinki Regional Transport Authority) Journey planner interface (v2). Creates requests, optionally validates them and finally sends them to HSL's API. Upon receiving response library maps the response into classes which are then easy to use.

Getting started

Usage requires an account which can be requested here. Once account is created use libs main file (JourneyPlanner.java) to set account credentials. Main file can also create requests. Once one has created request and set valid credentials request can be executed. When request is executed its parameters will be validated, IllegalArgumentException is thrown if validation errors are found. If request parameters are valid library will send the request via HTTP protocol and parse response. Responses are mapped into classes depending on the request type.

Supported API calls

About

HSL Journey Planner (Reittiopas) Client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages