Skip to content

Latest commit

 

History

History
45 lines (37 loc) · 1.1 KB

README.md

File metadata and controls

45 lines (37 loc) · 1.1 KB

MP Vehicle Search API

NOTE:

  • The repository & code is for educational purpose only.
  • The terms of MP Transport Website prohibits the use of automated tools such as any spider, robot, or automated searching or "scraping" tool) to monitor, access or copy any content from their website.
  • Use at your own risk.

>

Usage

pip install -r requirements.txt
python app.py

API Usage

Endpoint

GET: [/regis-num/<registrationnum>]

Example

Example usage: GET http://mp-vehicle.herokuapp.com/regis-num/MP12MA1222

Example result:

{
    message: "Record found!",
    status: "200",
    veh_chassis_no: "05G29F03874",
    veh_class: "MOTOR CYCLE",
    veh_colour: "P BLACK",
    veh_engine_no: "05G29E03219",
    veh_maker: "HERO HONDA MOTORS",
    veh_manufacture_year: "2005",
    veh_model: "CD DAWN DLX",
    veh_owner_name: "AMIT KUMAR  ",
    veh_recent_owner_count: "1",
    veh_regis_date: "01-04-2006",
    veh_regis_num: "MP12MA1222",
    veh_rto_name: "KHANDWA",
}