An unofficial Python client for the MyGeotab API
Project description
An Apache2 Licensed, unofficial Python client for the MyGeotab SDK.
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.9+, 3.4+, and pypy 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 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
Changes
0.4.1 (2016-03-16)
Bug Fixes
Use a custom User-Agent when making requests
0.4 (2016-02-25)
Enhancements
Extension for facilitating use of the MyGeotab Data Feed
Allow Pythonic underscore-separated parameters mapped to camelcase ones
Force the use of TLS 1.2 for upcoming strict security requirements in MyGeotab. (Note that TLS 1.2 is only supported in Python 2.7.9+ and 3.4+)
Bug Fixes
Fixed issue with CLI console startup
Use the system’s default user location for config files
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
Built Distribution
Hashes for mygeotab-0.4.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bae5f94e836077dfdacb029e7f7e3941eb5fae0f2904da2fb7794bff54d87bb |
|
MD5 | 09d692ff7dc47eb3d60c6e75798d85bf |
|
BLAKE2b-256 | 8efbbf844f1a79c15f1f6c5b117c96050a35b45f0c17adff80e5585bd807d5ce |