Navitia.io is an API that helps people access and use public transportation data. It provides services for performing journey computations, getting line schedules, finding next departures, and discovering isochrones. Isochrones are locations that can be reached in the same amount of time from a person's starting point. This part of the API could, for example, be used to discover which stations could be reached within the next 60 minutes.
The street network used by navitia.io is extracted from OpenStreetMap, and all of the public transport data comes from networks that provide their timetables as open data.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Navitia Python Sample Code by Navitia presents developers how API interaction can access transportation features. The tests available include departures, exploration, inverted geocoding, journeys, and route schedule.
The Navitia PHP Sample Code by Navitia demonstrates developers how to interact with the API for integrating transportation features. It provides environment, logger, utilities, and tests as available resources.