Skip to main content

Journey Planner API client library

Project description


A client for accessing the Journey Planner (Rejseplanen) API.


The journeyplanner library can be installed using pip:

$ pip install journeyplanner


client = JourneyPlanner()
dt = datetime(2019, 1, 8, 12, 0, 0)
origin = Endpoint(latitude=55.68325233, longitude=12.57150292, name="noerreport")
destination = Endpoint(latitude=55.67271128, longitude=12.56635308, name="hovedbanen")
trip = client.trip(origin, destination,, time=dt.time())


client = JourneyPlanner()
client.authenticate('USERNAME', 'PASSWORD')

API reference

Trip objects

Trip instances have the following attributes:


List of leg instances

Leg objects

Leg instances have the following attributes:

  • Leg.type
  • Leg.origin
  • Leg.destination
  • Leg.notes

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

journeyplanner-1.0.1.tar.gz (6.3 kB view hashes)

Uploaded source

Built Distribution

journeyplanner-1.0.1-py3-none-any.whl (8.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page