jeffreyvanrossum / rdw-opendata-php
Simple RDW Open Data library for PHP.
1.1
2019-07-19 14:44 UTC
Requires
- guzzlehttp/guzzle: ~6.0
Requires (Dev)
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2024-10-20 03:36:16 UTC
README
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