hyundai-kia-connect-api 3.3.7__py2.py3-none-any.whl → 3.3.8__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.
@@ -1,6 +1,7 @@
1
1
  """KiaUvoApiEU.py"""
2
2
  # pylint:disable=missing-timeout,missing-class-docstring,missing-function-docstring,wildcard-import,unused-wildcard-import,invalid-name,logging-fstring-interpolation,broad-except,bare-except,super-init-not-called,unused-argument,line-too-long,too-many-lines
3
3
 
4
+ import random
4
5
  import datetime as dt
5
6
  import logging
6
7
  import re
@@ -1080,7 +1081,9 @@ class KiaUvoApiEU(ApiImpl):
1080
1081
  return self.stamps["stamps"][position]
1081
1082
 
1082
1083
  def _get_device_id(self, stamp: str):
1083
- registration_id = 1
1084
+ ran = random.randrange(10**80)
1085
+ myhex = "%064x" % ran
1086
+ registration_id = myhex[:64]
1084
1087
  url = self.SPA_API_URL + "notifications/register"
1085
1088
  payload = {
1086
1089
  "pushRegId": registration_id,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: hyundai-kia-connect-api
3
- Version: 3.3.7
3
+ Version: 3.3.8
4
4
  Summary: Python Boilerplate contains all the boilerplate you need to create a Python package.
5
5
  Home-page: https://github.com/fuatakgun/hyundai_kia_connect_api
6
6
  Author: Fuat Akgun
@@ -3,7 +3,7 @@ hyundai_kia_connect_api/HyundaiBlueLinkAPIUSA.py,sha256=QStSWimMzxcBGmM0NyVk0egw
3
3
  hyundai_kia_connect_api/KiaUvoAPIUSA.py,sha256=NWQNOH3lQzxjyifeMIAjPfWamVzArqymZ8VgKP3_VMY,27449
4
4
  hyundai_kia_connect_api/KiaUvoApiCA.py,sha256=8OSXWRw0Nt8l5Ac63iZwBYiYK-x89j_k-tqEip4NaUw,29985
5
5
  hyundai_kia_connect_api/KiaUvoApiCN.py,sha256=QmjevKCMt4GzhtF7ZZ5tfyV0rAqNTE9EHmhQr4u1Pgw,51311
6
- hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=TO7MZvc3BnnGMSflJH-MObBFfJI2YpPvd5M392iYiIM,53887
6
+ hyundai_kia_connect_api/KiaUvoApiEU.py,sha256=1Lon5oKK-j0_9cPy54buf7pE6HDHSQb8KpsFmW1QPJI,53979
7
7
  hyundai_kia_connect_api/Token.py,sha256=odHSR-D7CnL19hh6f6cc3rablchzqS0I2GXf7jWvsQE,369
8
8
  hyundai_kia_connect_api/Vehicle.py,sha256=AKEjl8ct9LPGPwWOiSclUQPXZK822MzojbaQbfIzBak,12772
9
9
  hyundai_kia_connect_api/VehicleManager.py,sha256=eCMXePM3yhzVx1FBFLYhQ1pQHGmP07l3pqRMw18VPUA,9083
@@ -11,9 +11,9 @@ hyundai_kia_connect_api/__init__.py,sha256=nHv9mufHuKHAwEZncS4EQRxYMohsR9NdLltOS
11
11
  hyundai_kia_connect_api/const.py,sha256=Yb7yJtALZzsmnizzzqiKpdZbh1FTu4jc9tFj-tuB4rc,1690
12
12
  hyundai_kia_connect_api/exceptions.py,sha256=pUKegYbLkRXmgfAW4ApW805xwyhcjOA6SEo1VVmwiDU,1228
13
13
  hyundai_kia_connect_api/utils.py,sha256=u0F4PdWA0l_ikZaWJU_9WAwtW1t__KPOiHDef8Ka7ck,751
14
- hyundai_kia_connect_api-3.3.7.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
15
- hyundai_kia_connect_api-3.3.7.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
16
- hyundai_kia_connect_api-3.3.7.dist-info/METADATA,sha256=yZflzFdL6PaIvVf4TomJ0LE8xFYkKe4EbicDtjFlCRA,5714
17
- hyundai_kia_connect_api-3.3.7.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
18
- hyundai_kia_connect_api-3.3.7.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
19
- hyundai_kia_connect_api-3.3.7.dist-info/RECORD,,
14
+ hyundai_kia_connect_api-3.3.8.dist-info/AUTHORS.rst,sha256=T77OE1hrQF6YyDE6NbdMKyL66inHt7dnjHAzblwuk2A,155
15
+ hyundai_kia_connect_api-3.3.8.dist-info/LICENSE,sha256=AsZwIRViAze7ObwO6V6IB0q4caXv6DJS2-3dsU1FWy8,1069
16
+ hyundai_kia_connect_api-3.3.8.dist-info/METADATA,sha256=91Qd5mSftDKN0x5S5ObEwsWLrG8x2JvlPge80kafrZA,5714
17
+ hyundai_kia_connect_api-3.3.8.dist-info/WHEEL,sha256=a-zpFRIJzOq5QfuhBzbhiA1eHTzNCJn8OdRvhdNX0Rk,110
18
+ hyundai_kia_connect_api-3.3.8.dist-info/top_level.txt,sha256=otZ7J_fN-s3EW4jD-kAearIo2OIzhQLR8DNEHIaFfds,24
19
+ hyundai_kia_connect_api-3.3.8.dist-info/RECORD,,