Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeffreyvr/rdw-opendata-php

Simple library for getting vehicle data by license plate number.
https://github.com/jeffreyvr/rdw-opendata-php

kenteken open-data rdw

Last synced: about 1 month ago
JSON representation

Simple library for getting vehicle data by license plate number.

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/jeffreyvr/rdw-opendata-php.svg?branch=master)](https://travis-ci.org/jeffreyvr/rdw-opendata-php)

# 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`.

```php
use RDWOA\RDW;

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

echo $data->merk;
```

```php
$data = RDW::get('90FPDP', 'brandstof');

echo $data->brandstof_omschrijving;
```

## Possible data sets

* info
* brandstof
* carrosserie
* carrosserieSpecifiek
* voertuigklasse