pycupra 0.1.5__tar.gz → 0.1.7__tar.gz

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.
Files changed (38) hide show
  1. {pycupra-0.1.5/pycupra.egg-info → pycupra-0.1.7}/PKG-INFO +1 -1
  2. {pycupra-0.1.5 → pycupra-0.1.7}/example/PyCupra.py +5 -5
  3. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/__version__.py +1 -1
  4. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/connection.py +1868 -1816
  5. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/const.py +1 -0
  6. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/dashboard.py +12 -0
  7. pycupra-0.1.7/pycupra/firebase.py +90 -0
  8. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/fcmpushclient.py +14 -3
  9. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/utilities.py +116 -116
  10. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/vehicle.py +69 -14
  11. {pycupra-0.1.5 → pycupra-0.1.7/pycupra.egg-info}/PKG-INFO +1 -1
  12. pycupra-0.1.5/pycupra/firebase.py +0 -73
  13. {pycupra-0.1.5 → pycupra-0.1.7}/.gitignore +0 -0
  14. {pycupra-0.1.5 → pycupra-0.1.7}/LICENSE +0 -0
  15. {pycupra-0.1.5 → pycupra-0.1.7}/README.md +0 -0
  16. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/__init__.py +0 -0
  17. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/exceptions.py +0 -0
  18. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/__init__.py +0 -0
  19. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/android_checkin.proto +0 -0
  20. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/android_checkin_pb2.py +0 -0
  21. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/android_checkin_pb2.pyi +0 -0
  22. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/checkin.proto +0 -0
  23. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/checkin_pb2.py +0 -0
  24. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/checkin_pb2.pyi +0 -0
  25. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/const.py +0 -0
  26. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/fcmregister.py +0 -0
  27. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/mcs.proto +0 -0
  28. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/mcs_pb2.py +0 -0
  29. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/mcs_pb2.pyi +0 -0
  30. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/py.typed +0 -0
  31. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/SOURCES.txt +0 -0
  32. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/dependency_links.txt +0 -0
  33. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/requires.txt +0 -0
  34. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/top_level.txt +0 -0
  35. {pycupra-0.1.5 → pycupra-0.1.7}/pycupra_credentials.json.demo +0 -0
  36. {pycupra-0.1.5 → pycupra-0.1.7}/requirements.txt +0 -0
  37. {pycupra-0.1.5 → pycupra-0.1.7}/setup.cfg +0 -0
  38. {pycupra-0.1.5 → pycupra-0.1.7}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pycupra
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Summary: A library to read and send vehicle data via Cupra/Seat portal using the same API calls as the MyCupra/MySeat mobile app.
5
5
  Home-page: https://github.com/WulfgarW/pycupra
6
6
  Author: WulfgarW
@@ -384,11 +384,11 @@ async def main():
384
384
  raise
385
385
  async with ClientSession(headers={'Connection': 'keep-alive'}) as session:
386
386
  print('')
387
- print('########################################')
388
- print('# Logging on to seat.cloud.vwgroup.com #')
389
- print('########################################')
390
- print(f"Initiating new session to Seat Cloud with {credentials.get('username')} as username")
391
- connection = Connection(session, BRAND, credentials.get('username'), credentials.get('password'), PRINTRESPONSE, nightlyUpdateReduction=False)
387
+ print('######################################################')
388
+ print('# Logging on to ola.prod.code.seat.cloud.vwgroup.com #')
389
+ print('######################################################')
390
+ print(f"Initiating new session to Cupra/Seat Cloud with {credentials.get('username')} as username")
391
+ connection = Connection(session, BRAND, credentials.get('username'), credentials.get('password'), PRINTRESPONSE, nightlyUpdateReduction=False, anonymise=True)
392
392
  print("Attempting to login to the Seat Cloud service")
393
393
  print(datetime.now())
394
394
  if await connection.doLogin(tokenFile=TOKEN_FILE_NAME_AND_PATH, apiKey=credentials.get('apiKey',None)):
@@ -3,4 +3,4 @@ pycupra - A Python 3 library for interacting with the My Cupra/My Seat portal.
3
3
 
4
4
  For more details and documentation, visit the github page at https://github.com/WulfgarW/pycupra
5
5
  """
6
- __version__ = "0.1.5"
6
+ __version__ = "0.1.7"