Fetch data from ZTM API


Keywords
ztm
License
MIT
Install
pip install ztm==0.1.12

Documentation

ZTM api wrapper

Fetch data from ZTM API

Documentation Status Coveralls.io coverage CodeCov coverage Maintainability License Tweet about this project

Features

  • Fetch GPS position and append to CSV file

Quickstart

Install and run ZTM api wrapper:

$ curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python
$ pipsi install ztm
$ ztm --apikey <APIKEY> fetch --line 150 --line 250
$ cat ztm.csv

Running Tests

Does the code actually work?:

$ git clone https://github.com/wooyek/ztm.git
$ cd ztm
$ curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python
$ pipsi install pew
$ pew new -p python3 -a $(pwd) $(pwd | xargs basename)
$ pip install -r requirements/development.txt
$ pipsi install tox
$ tox

We recommend using pipsi for installing pew and tox but a legacy approach to creating virtualenv and installing requirements should also work. Please install requirements/development.txt to setup virtual env for testing and development.

Credits

This package was created with Cookiecutter and the wooyek/cookiecutter-pylib project template.