PyRDW gives a basic way of fetching licensenumber-data from the RDW, the dutch department of road transport.
Project description
PyRDW
=====
PyRDW gives a basic way of fetching licensenumber-data from the RDW, the dutch department of road transport.
Keys in data returned (by the RDW) are in dutch, unfortunately.
See the RDW for data-documentation:
https://www.rdw.nl/opendata/Paginas/handleidingen.aspx?path=Portal/OpenData
Regular expressions copied from:
http://blog.kenteken.tv/2011/05/06/code-snippets-formatteren-rdw-kenteken/
###Usage
```
>>> from pyrdw.license_number import LicenseNumber
>>>
>>> license_number = LicenseNumber('8tgj72')
>>> license_number.formatted
'8-TGJ-72'
>>> license_number.data['Merk']
u'FERRARI'
>>> license_number.data['Handelsbenaming']
u'458'
>>> license_number.data['Aantalzitplaatsen']
2
>>> license_number.data['BPM']
50193
```
###Version-history
1.0b - Basic functionality with license_number validation and an RDW call.
=====
PyRDW gives a basic way of fetching licensenumber-data from the RDW, the dutch department of road transport.
Keys in data returned (by the RDW) are in dutch, unfortunately.
See the RDW for data-documentation:
https://www.rdw.nl/opendata/Paginas/handleidingen.aspx?path=Portal/OpenData
Regular expressions copied from:
http://blog.kenteken.tv/2011/05/06/code-snippets-formatteren-rdw-kenteken/
###Usage
```
>>> from pyrdw.license_number import LicenseNumber
>>>
>>> license_number = LicenseNumber('8tgj72')
>>> license_number.formatted
'8-TGJ-72'
>>> license_number.data['Merk']
u'FERRARI'
>>> license_number.data['Handelsbenaming']
u'458'
>>> license_number.data['Aantalzitplaatsen']
2
>>> license_number.data['BPM']
50193
```
###Version-history
1.0b - Basic functionality with license_number validation and an RDW call.
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
PyRDW-1.0b.tar.gz
(3.0 kB
view hashes)