Skip to content

An API client for DoubleMap with additional bus route tracking utilities.

License

Notifications You must be signed in to change notification settings

quinnhosler/doublemap-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoubleMap API Client

This library helps you to pull data from DoubleMap. Included is a command line utility for determining when buses will arrive and which one to get on.

www.doublemap.com

Installation

Via source code / GitHub:

$ git clone https://github.com/travcunn/doublemap.git doublemap
$ cd doublemap
$ python setup.py install

Usage

>>> from doublemap import DoubleMap
>>> tracker = DoubleMap('iupui')
>>>
>>> # dict of buses. keys are bus ids.
>>> tracker.buses
>>> # retrieve info about route 23
>>> tracker.route_info(23)

Command Line Utility

Included is a command line utility for accessing bus route information, which can be run after installing the package:

$ doublemap

About

An API client for DoubleMap with additional bus route tracking utilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.8%
  • Makefile 4.2%