Skip to content

Commit e0542d2

Browse files
committed
Initial version
1 parent 62928d4 commit e0542d2

File tree

10 files changed

+865
-680
lines changed

10 files changed

+865
-680
lines changed

.editorconfig

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EditorConfig is awesome: https://editorconfig.org/
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending for every file
7+
# Indent with 4 spaces
8+
[*]
9+
charset = utf-8
10+
end_of_line = lf
11+
indent_style = space
12+
indent_size = 4
13+
insert_final_newline = true
14+
trim_trailing_whitespace = true

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
.idea
2+
.composer.lock
3+
vendor/
4+
test.php

LICENSE

Lines changed: 27 additions & 674 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
# rdw-api-client
22

3-
This client is m
3+
## Introduction
4+
5+
This is a simple API client to pull vehicle data from the RDW (Rijksdienst Wegverkeer) OpenData API.
6+
7+
See: https://opendata.rdw.nl for more information.
8+
9+
Because this is Open Data provided by the government an API key is not needed.
10+
11+
## Usage:
12+
13+
```
14+
$rdwApiClient = new \DOvereem\RdwApiClient\RdwApiClient();
15+
$vehicleData = $rdwApiClient->getLicensedVehicleDataByLicensePlateNumber("AA-BB-CC");
16+
```
17+

composer.json

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
11
{
2-
"name": "dovereem/rdw-api-client",
3-
"description": "API Client for the RDW (Rijksdienst Wegverkeer) OpenData API (https://opendata.rdw.nl/) ",
4-
"require": {
5-
"php": ">=7.4"
6-
}
2+
"name": "dovereem/rdw-api-client",
3+
"description": "API Client for the RDW (Rijksdienst Wegverkeer) OpenData API (https://opendata.rdw.nl/) ",
4+
"keywords": [
5+
"rdw",
6+
"opendata",
7+
"rijksdienst",
8+
"wegverkeer",
9+
"api",
10+
"client"
11+
],
12+
"license": "MIT",
13+
"authors": [
14+
{
15+
"name": "Damien Overeem",
16+
"email": "damien@overeem.org",
17+
"homepage": "https://damien.overeem.org"
18+
}
19+
],
20+
"require": {
21+
"php": ">=7.4",
22+
"guzzlehttp/guzzle": "^6.0"
23+
},
24+
"autoload": {
25+
"psr-4": {
26+
"DOvereem\\": "src/"
27+
}
28+
}
729
}

0 commit comments

Comments
 (0)