An unofficial Python client for the MyGeotab API
Project description
An Apache2 Licensed, unofficial Python client for the MyGeotab API.
Also bundled is the “myg” command line tool, which is a sandboxed console for quickly querying and operating on MyGeotab data.
Features
Automatic serializing and de-serializing of JSON results
Clean, Pythonic API for querying data
Cross-platform and compatible with Python 2.7+, 3.3+, and pypy
Usage
>>> import mygeotab
>>> api = mygeotab.API(username='hello@example.com', password='mypass', database='DemoDB')
>>> api.authenticate()
>>> api.get('Device', search=dict(name='%Test Dev%'))
[{'maxSecondsBetweenLogs': 200.0,
'activeTo': '2050-01-01',
'minAccidentSpeed': 3.0,
'ignoreDownloadsUntil': '1986-01-01',
'name': 'Test Device',
'idleMinutes': 3.0,
......
Installation
To install the MyGeotab library and command line tool:
$ pip install mygeotab
or for the bleeding-edge version:
$ pip install git+https://github.com/geotab/mygeotab-python
Documentation
Read the docs at http://mygeotab-python.readthedocs.org
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mygeotab-0.3.tar.gz
(7.5 kB
view hashes)
Built Distribution
mygeotab-0.3-py2.py3-none-any.whl
(10.6 kB
view hashes)
Close
Hashes for mygeotab-0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89b3a31027c5e8242e3e3a3d1ecc284e41853c21ac579a4e88545f0cab7ee716 |
|
MD5 | 33ac29620cf3361f26b080a2e66b96e5 |
|
BLAKE2b-256 | 544784cac8e2ae8f2dcd3c4e06c66fa9b7c3cc8d191139057e02c13f83948bee |