SiLingTan / TaxiBookingAPI

Taxi Booking in a 2D Grid World

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Taxi Booking System

Provides Taxi Booking APIs in a 2D Grid World.

Pre-requisities

  1. Download Postman
  2. Unzip the source code (TaxiServiceApi.zip) and place it into your local path directory.
  3. Install Python (my version 2.7.5)
  4. Install virtualenv
$ cd TaxiServiceApi
$ virtualenv flask
$ pip install flask

Run the Program

  1. 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)
  1. 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

More Information

About

Taxi Booking in a 2D Grid World

License:GNU General Public License v3.0


Languages

Language:Python 100.0%