Python scripts created to offer a routing SMS service
The project has 3 python files:
- run.py:
- initial script, starts a server listening on port 5000 for POST petitions, it recieves as params a string with the format [origin,dest], if you send the right parameters then it returns de route, if no it returns an error
- mapsConnector.py:
- File with a class called Maps that requires a GoogleMapsAPI key, you can create your own key right here .This connector generates GET requests and parses JSON responses into nice msgs
- mongoConnector.py:
- File with a class called MongoConnector that connects to a local running MongoDB on default Mongo port that uses the information from de MapatonDB in GeoJson format. Go to MapatonAPI repo