Skip to content

ewsterrenburg/pypi-rdw

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rdw

(Unofficial) Python wrapper for the RDW API (Netherlands Vehicle Authority) which can be used to check vehicle information.

Usage

>>> from rdw.rdw import Rdw
>>>
>>> car = Rdw()
>>> result = car.get_vehicle_data('16RSL9')
>>> result[0]['vervaldatum_apk']
'20180712'

Function descriptions

Rdw.get_deficiency_data(gebrek_identificatie)

On entry:
   gebrek_identificatie: ID code of the deficiency

On exit:
   JSON object containing information on the deficiency

RDW API documentation 'Gebreken'

RDW API endpoint 'Gebreken'

Rdw.get_found_deficiencies_data(kenteken)

On entry:
   kenteken: License plate code

On exit:
   JSON object containing information on the deficiencies for this car

RDW API documentation 'Geconstateerde_gebreken'

RDW API endpoint 'Geconstateerde_gebreken'

Rdw.get_vehicle_data

On entry:
* kenteken: License plate code

On exit:
* JSON object containing information on the car

RDW API documentation: 'Gekentekende voertuigen'

RDW API endpoint: 'Gekentekende voertuigen'

Rdw.get_recall_data(referentiecode_rdw)

On entry:
   referentiecode_rdw: RDW reference code for this recall

On exit:
   JSON object containing information on the recall

RDW API documentation 'Terugroep_actie'

RDW API endpoint 'Terugroep_actie'

Rdw.get_recall_risk_data(referentiecode_rdw)

On entry:
   referentiecode_rdw: RDW reference code for this recall

On exit:
   JSON object containing information on the risk involved in this recall

RDW API documentation 'Teruggroep_actie_risico'

RDW API endpoint 'Teruggroep_actie_risico'

Rdw.get_recall_status_data(kenteken)

On entry:
   kenteken: License plate code

On exit:
   JSON object containing information on the status of the recall(s) for this car

RDW API documentation: 'Terugroep_actie_status'

RDW API endpoint

Rdw.get_recall_owner_notification(referentiecode_rdw)

On entry:
   referentiecode_rdw: RDW reference code for this recall

On exit:
   JSON object containing information on how the car owner is informed about this recall

RDW API documentation 'Terugroep_informeren_eigenaar'

RDW API endpoint 'Terugroep_informeren_eigenaar

Rdw.get_added_objects_data(kenteken)

On entry:
* kenteken: License plate code

On exit:
* JSON object containing information on the aftermarket objects added to this car

RDW API documentation: 'Toegevoegde_objecten'

RDW API endpoint 'Toegevoegde_objecten'

Changelog

See the CHANGELOG file.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%