https://github.com/idaljeetsingh/mpvehiclesearchapi
RestAPI for fetching information of vehicles registered under Madhya Pradesh's Transport Department.
https://github.com/idaljeetsingh/mpvehiclesearchapi
api flask python scraping search vehicle vehicle-search webscraping
Last synced: 3 months ago
JSON representation
RestAPI for fetching information of vehicles registered under Madhya Pradesh's Transport Department.
- Host: GitHub
- URL: https://github.com/idaljeetsingh/mpvehiclesearchapi
- Owner: idaljeetsingh
- Created: 2019-10-07T08:10:42.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T01:53:25.000Z (about 4 years ago)
- Last Synced: 2024-12-30T17:55:38.075Z (5 months ago)
- Topics: api, flask, python, scraping, search, vehicle, vehicle-search, webscraping
- Language: Python
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
### API Base URL: 'http://mp-vehicle.herokuapp.com/'## Endpoint
GET: [`/regis-num/`]
#### Example
Example usage: `GET http://mp-vehicle.herokuapp.com/regis-num/MP12MA1222`Example result:
```json
{
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",
}
```