Spaces:
No application file
No application file
Commit ·
2cb6529
1
Parent(s): fe34898
Update get_vehicle_info() function by deleting print statements for year, make, and model. Also, remove input to test function
Browse files- nhtsa_api_call.py +2 -10
nhtsa_api_call.py
CHANGED
|
@@ -12,14 +12,6 @@ def get_vehicle_info(vin):
|
|
| 12 |
make = item["Value"]
|
| 13 |
if item["Variable"] in ["Model"]:
|
| 14 |
model = item["Value"]
|
| 15 |
-
|
| 16 |
-
# make =
|
| 17 |
-
# model =
|
| 18 |
-
print(year)
|
| 19 |
-
print(make)
|
| 20 |
-
print(model)
|
| 21 |
return year, make, model
|
| 22 |
-
|
| 23 |
-
vin_num = input("What is vin number")
|
| 24 |
-
|
| 25 |
-
get_vehicle_info(vin_num)
|
|
|
|
| 12 |
make = item["Value"]
|
| 13 |
if item["Variable"] in ["Model"]:
|
| 14 |
model = item["Value"]
|
| 15 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
return year, make, model
|
| 17 |
+
|
|
|
|
|
|
|
|
|