Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 717 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 717 Bytes

Build Status

RDW Open Data

Simple library for getting vehicle data by license plate number.

Data source: https://opendata.rdw.nl

Installation

composer require jeffreyvanrossum/rdw-opendata-php:^1.0

Example usage

You call the static get method on the RDW class. You can pass two parameters: license and data.

use RDWOA\RDW;

$data = RDW::get('90FPDP');

echo $data->merk;
$data = RDW::get('90FPDP', 'brandstof');

echo $data->brandstof_omschrijving;

Possible data sets

  • info
  • brandstof
  • carrosserie
  • carrosserieSpecifiek
  • voertuigklasse