ovchipcard-api

OV Chipkaart API


Keywords
OV, Public, Transport, ov-chipkaart, chipkaart
License
MIT
Install
pip install ovchipcard-api==1.1

Documentation

OVStat

Python OvChipkaart API Wrapper Package

Install with:

python setup.py install 

This will install the ovstat package.

####Example

from ovstat.OvApi import OvApi
import json
o = OvApi("username", "password");
cards = o.get_cards_list()
for card in cards:
    records = o.get_transaction_list(card['mediumId'])
    card['transactions'] = records
print(json.dumps(cards))