Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 736182b200 | |||
| 5b1bf8c1c4 |
@@ -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.1',
|
||||||
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.1',
|
||||||
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