hyundai-kia-connect-api 3.32.13__py2.py3-none-any.whl → 3.32.15__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,6 @@ class HyundaiBlueLinkApiUSA(ApiImpl):
103
103
  "refresh": "false",
104
104
  "encryptFlag": "false",
105
105
  "brandIndicator": "H",
106
- "gen": "2",
107
106
  "client_id": "m66129Bb-em93-SPAHYN-bZ91-am4540zp19920",
108
107
  "clientSecret": "v558o935-6nne-423i-baa8",
109
108
  }
@@ -122,6 +121,7 @@ class HyundaiBlueLinkApiUSA(ApiImpl):
122
121
  def _get_vehicle_headers(self, token: Token, vehicle: Vehicle) -> dict:
123
122
  headers = self._get_authenticated_headers(token)
124
123
  headers["registrationId"] = vehicle.id
124
+ headers["gen"] = vehicle.generation
125
125
  headers["vin"] = vehicle.VIN
126
126
  return headers
127
127
 
@@ -747,8 +747,9 @@ class HyundaiBlueLinkApiUSA(ApiImpl):
747
747
  VIN=entry["vin"],
748
748
  engine_type=entry_engine_type,
749
749
  model=entry["modelCode"],
750
- registration_date=["enrollmentDate"],
750
+ registration_date=entry["enrollmentDate"],
751
751
  timezone=self.data_timezone,
752
+ generation=entry.get("vehicleGeneration", 2),
752
753
  )
753
754
  result.append(vehicle)
754
755
 
@@ -73,7 +73,10 @@ class Vehicle:
73
73
  year: int = None
74
74
  VIN: str = None
75
75
  key: str = None
76
+ # EU or Type 1 version:
76
77
  ccu_ccs2_protocol_support: int = None
78
+ # Hyundai USA:
79
+ generation: int = None
77
80
  # Not part of the API, enabled in our library for scanning.
78
81
  enabled: bool = True
79
82
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hyundai_kia_connect_api
3
- Version: 3.32.13
3
+ Version: 3.32.15
4
4
  Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
5
5
  Home-page: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api
6
6
  Author: Fuat Akgun
@@ -1,23 +1,23 @@
1
1
  hyundai_kia_connect_api/ApiImpl.py,sha256=sgUXOcQnBMTVylxOLeqnYOGnz9KqLqRClRpE12u6ZS4,7806
2
2
  hyundai_kia_connect_api/ApiImplType1.py,sha256=PnKwpbCoYGOXBWzBLIlDSrC6daIYeW9qlfW7TM4HCU0,12184
3
- hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=Tx-L4ZWiPhq-uHcjWSUzjLEsfunV6nzyzqQpjPTYuIo,36831
3
+ hyundai_kia_connect_api/HyundaiBlueLinkApiUSA.py,sha256=l4IAY1DqUh01WzPgM8TDlYKR80FEvqLkYqrfNtyT9Yw,36918
4
4
  hyundai_kia_connect_api/KiaUvoApiAU.py,sha256=tslh0gzvPBwYJmcWlf9B0l7PyYZdy2e7GqpRkl8_Svk,48471
5
5
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=XBya0yHZ2MC3TBVQLSc6N-SzmGt_s3l4nGVyNgmjl9Q,32514
6
6
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=cwIPZ0dU6HolKdooUQeQKlLAic6YU8dQmNs0VQDBgpQ,47035
7
7
  hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=TxgO2dfLjKSKfSkRMoTL_fbmzRFRPb8oJ9IDztD50Ug,71300
8
8
  hyundai_kia_connect_api/KiaUvoApiUSA.py,sha256=8DP7iOORHtU98LipcAYEPdtJvubBlUP2-jlDxAhTDhQ,30548
9
9
  hyundai_kia_connect_api/Token.py,sha256=ZsPvXh1ID7FUTGHAqhZUZyrKT7xVbOtIn6FRJn4Ygf0,370
10
- hyundai_kia_connect_api/Vehicle.py,sha256=raCMzJsLuJnVHlFJ16VKdKat55L0uivbbcZRDCGWTxI,18793
10
+ hyundai_kia_connect_api/Vehicle.py,sha256=hZT0wU7-mMi85bgqNHMu6CyhQQ5h-Jfmoc1ce2uPhYM,18867
11
11
  hyundai_kia_connect_api/VehicleManager.py,sha256=SfGuCT0foCJqUNNLXs_9lRR5XGQ7xd-fodTIs3JEl0o,11167
12
12
  hyundai_kia_connect_api/__init__.py,sha256=IkyVeIMbcFJZgLaiiNnUVA1Ferxvrm1bXHKVg01cxvc,319
13
13
  hyundai_kia_connect_api/bluelink.py,sha256=JiNIHl-Qi8zwqyN6ywKg5CdXOLT74WkvpjVcn-rYEjI,19730
14
14
  hyundai_kia_connect_api/const.py,sha256=scBlhrMims0W6_pESVVdQz2uUxczg2cf2qDQ7avbhVo,2174
15
15
  hyundai_kia_connect_api/exceptions.py,sha256=m7gyDnvA5OVAK4EXSP_ZwE0s0uV8HsGUV0tiYwqofK0,1343
16
16
  hyundai_kia_connect_api/utils.py,sha256=J0aXUX-nKIoS3XbelatNh-DZlHRU2_DYz_Mg_ZUKQJU,1957
17
- hyundai_kia_connect_api-3.32.13.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
18
- hyundai_kia_connect_api-3.32.13.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
19
- hyundai_kia_connect_api-3.32.13.dist-info/METADATA,sha256=Cl6ErHgVEh4ERzwy9e44JgWPd7jeKMAl9YbKMG2UkYo,6894
20
- hyundai_kia_connect_api-3.32.13.dist-info/WHEEL,sha256=aoLN90hLOL0c0qxXMxWYUM3HA3WmFGZQqEJHX1V_OJE,109
21
- hyundai_kia_connect_api-3.32.13.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
22
- hyundai_kia_connect_api-3.32.13.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
23
- hyundai_kia_connect_api-3.32.13.dist-info/RECORD,,
17
+ hyundai_kia_connect_api-3.32.15.dist-info/licenses/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
18
+ hyundai_kia_connect_api-3.32.15.dist-info/licenses/LICENSE,sha256=49hmc755oyMwKdZ-2epiorjStRB0PfcZR1w5_NXZPgs,1068
19
+ hyundai_kia_connect_api-3.32.15.dist-info/METADATA,sha256=E5HTqYKSAUTNn9z96HFGuVNVhoHtq9JM8IhO7J-OzmE,6894
20
+ hyundai_kia_connect_api-3.32.15.dist-info/WHEEL,sha256=MAQBAzGbXNI3bUmkDsiV_duv8i-gcdnLzw7cfUFwqhU,109
21
+ hyundai_kia_connect_api-3.32.15.dist-info/entry_points.txt,sha256=XfrroRdyC_9q9VXjEZe5SdRPhkQyCCE4S7ZK6XSKelA,67
22
+ hyundai_kia_connect_api-3.32.15.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
23
+ hyundai_kia_connect_api-3.32.15.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any