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.6 and Python 3.4
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 git+https://github.com/aaront/mygeotab-python
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.1.1.zip
(11.1 kB
view hashes)
Built Distribution
Close
Hashes for mygeotab-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2a6dfb0c7afd354b1160655b525e3999352146c51c469450ccc92e7da9a127 |
|
MD5 | 089f60725381ab6e744733244b0c923a |
|
BLAKE2b-256 | cf0862fc30e6dcd4454f08a852369efc6d0ff7daf10d329ed3c9c7c897df896d |