Skip to content

A flask web-app that interrogates the navitia api to retrieve journeys and calculate the distance of the route by interrogating a homemade SOAP Service. it also interrogates an homemade REST-API to convert currencies.

License

Notifications You must be signed in to change notification settings

Brignolu/SNCF-Flask-webapp

Repository files navigation

SNCF-Flask-webapp 🚅

A flask web-app that interrogates the navitia REST-API to retrieve journeys. It calculates the distance of the route by interrogating a homemade SOAP Service. It also interrogates a homemade REST-API to convert currencies.

Index Capture Result Capture

You can find REST API Swagger documentation : here
You can find SOAP Service documentation : here

Requirements

ladon (SOAP Service), zeep (SOAP Client), flask, flask_restplus (REST Service)

pip install -r requirements.txt

APIs used

SNCF API + Foreign exchange rates API

Setup

Launch :

python dispatcher.py

Credits

I would like to thank HashtagCheminot for his beautiful Pendule. Here's the link to his profile : https://jsfiddle.net/user/HashtagCheminot/fiddles/

About

A flask web-app that interrogates the navitia api to retrieve journeys and calculate the distance of the route by interrogating a homemade SOAP Service. it also interrogates an homemade REST-API to convert currencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published