Hey geek! in this tutorial we are going to learn how to extract the car information from VIN using Python.
VIN stands for Vehicle Identification Number, which is an alphanumeric number of length 17, which consists of digits as well as alphabets.
VIN confirms our car own identity and also it has other uses too:
- It is used in warranty claims.
- For thefts and insurance coverage.
- And also for track calls.
First, we need to install a module in order to extract the information using VIN.
Installation of vininfo in Python
vininfo is a module that needed to be in our system.
The following command will help us in doing that.
With this command, we have installed vinfo in our system.
Let us code this out.
Python program to extract car information from VIN number
from vininfo import Vin x = Vin('MAJGERTYKGHG56037') print(x.country) # the country to whcih the vehicle belongs print(x.manufacturer) # Name of the manufacturer print(x.wmi) print(x.vds) print(x.vis) print(x.region) In the above code,
x is an object and with that object, we are extracting various information regarding the vehicle.
wmi stands for world manufacturer identifier,
vds stands for vehicle descriptor section and
vis stands for vehicle identification section.
The x.region in the code refers to, which continent the vehicle is manufactured in.
India Fords MAJ GERTYK GHG56037 Asia
That’s it for this tutorial.
I hope you enjoyed it while reading.
If you have any queries please be free to comment out, we are with you.
Have a nice day.
Keep learning, keep enjoying.
Hyundai Veloster N TCR Makes World Debut in Detroit
Just before it sets of to conquer the race tracks of the 2019 International Motor Sports Association Michelin Pilot Challenge series,...
Reconditioned 1974 Honda CB750 Looks as If It Came Straight Out of a Museum
You might find it hard to believe, but this 1974 Honda CB750 was nothing more than a non-running project a few years...
Beautiful Music for Successful Wedding Videos
When it comes to wedding videos, ensuring you have the right music at hand can make all the difference. Any...
Why it’s better to have a child with someone you don’t love – Yvonne Nelson spills
Popular Ghanaian actress, Yvonne Nelson has revealed why it’s better and advisable for people to have children with people they are not...
Wizkid’s Made In Lagos Hits Half A Billion Streams On Apple Music
Nigerian superstar, Wizkid has recorded another feat with his Made In Lagos Deluxe album version with a milestone of 500M...
Blake Snell Net Worth
What is Blake Snell’s net worth? Net Worth: $10 Million Age: 28 Born: December 4, 1992 Country of Origin: United...
Beenie Man Net Worth
What is Beenie Man’s net worth? Net Worth: $4 Million Age: 47 Born: August 22, 1973 Country of Origin: Jamaica...
See how to load an already used recharge card (Topsecrets)
Have you ever gotten free Airtime Credit from MTN? If you haven’t, you’re still dulling yourself. This article will teach...
Nigerians on Twitter find humour in Oxlade’s leaked s*x tape
Full video of a fast-rising singer identified as Oxlade smashing an unidentified lady breaks the internet, Brand Spur Nigeria reports. In the tape...
Oxlade S*x Tape With Unidentified Lady Breaks Internet
Full video of a fast-rising singer identified as Oxlade smashing an unidentified lady breaks the internet, Brand Spur Nigeria reports. The 24-year-old whose...