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.
- {pycupra-0.1.5/pycupra.egg-info → pycupra-0.1.7}/PKG-INFO +1 -1
- {pycupra-0.1.5 → pycupra-0.1.7}/example/PyCupra.py +5 -5
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/__version__.py +1 -1
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/connection.py +1868 -1816
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/const.py +1 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/dashboard.py +12 -0
- pycupra-0.1.7/pycupra/firebase.py +90 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/fcmpushclient.py +14 -3
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/utilities.py +116 -116
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/vehicle.py +69 -14
- {pycupra-0.1.5 → pycupra-0.1.7/pycupra.egg-info}/PKG-INFO +1 -1
- pycupra-0.1.5/pycupra/firebase.py +0 -73
- {pycupra-0.1.5 → pycupra-0.1.7}/.gitignore +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/LICENSE +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/README.md +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/__init__.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/exceptions.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/__init__.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/android_checkin.proto +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/android_checkin_pb2.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/android_checkin_pb2.pyi +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/checkin.proto +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/checkin_pb2.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/checkin_pb2.pyi +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/const.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/fcmregister.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/mcs.proto +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/mcs_pb2.py +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/mcs_pb2.pyi +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra/firebase_messaging/py.typed +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/SOURCES.txt +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/dependency_links.txt +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/requires.txt +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra.egg-info/top_level.txt +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/pycupra_credentials.json.demo +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/requirements.txt +0 -0
- {pycupra-0.1.5 → pycupra-0.1.7}/setup.cfg +0 -0
- {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.
|
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)):
|