jeffreyvanrossum/rdw-opendata-php

Simple RDW Open Data library for PHP.

1.1 2019-07-19 14:44 UTC

This package is auto-updated.

Last update: 2024-04-20 02:33:51 UTC


README

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