Compare commits
4 Commits
v0.9.0
...
ec399c8b0a
| Author | SHA1 | Date | |
|---|---|---|---|
| ec399c8b0a | |||
| 40c0c9aa69 | |||
| 736182b200 | |||
| 5b1bf8c1c4 |
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
4
setup.py
4
setup.py
@@ -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"],
|
||||||
|
|||||||
Reference in New Issue
Block a user