Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 736182b200 | |||
| 5b1bf8c1c4 |
@@ -485,13 +485,6 @@ class GeoRideTracker(metaclass=JsonMgtMetaClass): # pylint: disable=R0904,R0902
|
||||
@classmethod
|
||||
def from_json(cls, json):
|
||||
"""return new object fromjson"""
|
||||
|
||||
"version": 3,
|
||||
"eCallCrashMode": "default",
|
||||
"assistanceTheftActivated": True,
|
||||
"model": "georide-3",
|
||||
"businessModel": "leasing",
|
||||
"hasTheftCaseOpened": False,
|
||||
|
||||
return GeoRideTracker(
|
||||
json['trackerId'], # Mandatory
|
||||
|
||||
4
setup.py
4
setup.py
@@ -19,13 +19,13 @@ CURRENT_DIR = os.path.dirname(__file__)
|
||||
setup(
|
||||
name='georideapilib',
|
||||
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',
|
||||
author='Matthieu DUVAL',
|
||||
author_email='georideapilib@duval-dev.fr',
|
||||
# use the URL to the github repo
|
||||
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
|
||||
classifiers=[],
|
||||
install_requires=["python-socketio[client]==4.6.1"],
|
||||
|
||||
Reference in New Issue
Block a user