Provides Taxi Booking APIs in a 2D Grid World.
- Download Postman
- Unzip the source code (TaxiServiceApi.zip) and place it into your local path directory.
- Install Python (my version 2.7.5)
- Install virtualenv
$ cd TaxiServiceApi
$ virtualenv flask
$ pip install flask
- Navigate into your TaxiServiceApi folder and run app.py.
$ python app.py
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
- Launch your postman and type http://TaxiCustomerA:CustA123@localhost:5000/api/book to fire a request.
Note: For authorization of “Book a Taxi” API, please use the following credentials.
Client ID: TaxiCustomerA
Client Secret: CustA123