4 Commits

Author SHA1 Message Date
ec399c8b0a Shipping v0.9.2 2023-02-27 20:06:34 +01:00
40c0c9aa69 Fixgitemail mispell 2023-02-27 20:05:16 +01:00
736182b200 Shipping v0.9.1 2023-02-27 19:31:35 +01:00
5b1bf8c1c4 Fixes mis configuraiton in tracker 2023-02-27 19:31:03 +01:00
3 changed files with 3 additions and 10 deletions

View File

@@ -11,7 +11,7 @@ class GeoRideAccount:
""" Account object representation """ """ Account object representation """
def __init__(self, account_id, email, is_admin, auth_token): def __init__(self, account_id, email, is_admin, auth_token):
self._account_id = account_id self._account_id = account_id
self._email = emailgit self._email = email
self._is_admin = is_admin self._is_admin = is_admin
self._auth_token = auth_token self._auth_token = auth_token

View File

@@ -486,13 +486,6 @@ class GeoRideTracker(metaclass=JsonMgtMetaClass): # pylint: disable=R0904,R0902
def from_json(cls, json): def from_json(cls, json):
"""return new object fromjson""" """return new object fromjson"""
"version": 3,
"eCallCrashMode": "default",
"assistanceTheftActivated": True,
"model": "georide-3",
"businessModel": "leasing",
"hasTheftCaseOpened": False,
return GeoRideTracker( return GeoRideTracker(
json['trackerId'], # Mandatory json['trackerId'], # Mandatory
json['trackerName'], # Mandatory json['trackerName'], # Mandatory

View File

@@ -19,13 +19,13 @@ CURRENT_DIR = os.path.dirname(__file__)
setup( setup(
name='georideapilib', name='georideapilib',
packages=['georideapilib', 'georideapilib.objects'], # this must be the same as the name above packages=['georideapilib', 'georideapilib.objects'], # this must be the same as the name above
version='0.9.0', version='0.9.2',
description='Lib to control GeoRide tracker devices with theire rest api', description='Lib to control GeoRide tracker devices with theire rest api',
author='Matthieu DUVAL', author='Matthieu DUVAL',
author_email='georideapilib@duval-dev.fr', author_email='georideapilib@duval-dev.fr',
# use the URL to the github repo # use the URL to the github repo
url='https://github.com/hacf/georide-api', url='https://github.com/hacf/georide-api',
download_url='https://codeload.github.com/hacf/georide-api/tar.gz/0.8.1', download_url='https://codeload.github.com/hacf/georide-api/tar.gz/0.9.2',
keywords=['rest', 'georide', 'api', 'grutier', 'GeoRide'], # arbitrary keywords keywords=['rest', 'georide', 'api', 'grutier', 'GeoRide'], # arbitrary keywords
classifiers=[], classifiers=[],
install_requires=["python-socketio[client]==4.6.1"], install_requires=["python-socketio[client]==4.6.1"],