Skip to content

Commit

Permalink
Remove support for the Dutch matchExact API
Browse files Browse the repository at this point in the history
Use the Validate API instead
  • Loading branch information
JozefVerhoef committed Oct 11, 2024
1 parent d86f915 commit 98b85a5
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/PostcodeNl/Api/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,6 @@ public function dutchAddressByPostcode(string $postcode, int $houseNumber, ?stri
return $this->_performApiCall(implode('/', $urlParts), null);
}

/**
* @see https://developer.postcode.eu/documentation/nl/v1/Address/matchExact
*/
public function dutchAddressExactMatch(string $city, string $street, int $houseNumber, string $houseNumberAddition = ''): array
{
$urlParts = [
'nl/v1/addresses/exact',
rawurlencode($city),
rawurlencode($street),
$houseNumber,
rawurlencode($houseNumberAddition),
];

return $this->_performApiCall(implode('/', $urlParts), null);
}

/**
* @see https://developer.postcode.eu/documentation/nl/v1/Address/viewByRd
*/
Expand Down

0 comments on commit 98b85a5

Please sign in to comment.