Skip to content

Commit 4219469

Browse files
authored
Fix service URL (#10)
* Update Geopunt.php * Update cached responses * Update README.md * Update README.md
1 parent 0c28368 commit 4219469

5 files changed

+3
-3
lines changed

Geopunt.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ final class Geopunt extends AbstractHttpProvider implements Provider
3232
/**
3333
* @var string
3434
*/
35-
const GEOCODE_ENDPOINT_URL = 'https://loc.geopunt.be/v4/Location?q=%s&c=%d';
35+
const GEOCODE_ENDPOINT_URL = 'https://geo.api.vlaanderen.be/geolocation/v4/Location?q=%s&c=%d';
3636

3737
/**
3838
* @var string
3939
*/
40-
const REVERSE_ENDPOINT_URL = 'https://loc.geopunt.be/v4/Location?latlon=%F,%F&c=%d';
40+
const REVERSE_ENDPOINT_URL = 'https://geo.api.vlaanderen.be/geolocation/v4/Location?latlon=%F,%F&c=%d';
4141

4242
/**
4343
* @param ClientInterface $client an HTTP adapter

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
This is the "Geopunt" provider for the [Geocoder PHP](https://github.com/geocoder-php/Geocoder).
1414

1515
**Coverage:** Flanders + Brussels (Belgium)
16-
**API:** <http://loc.geopunt.be/>
16+
**API:** <https://geo.api.vlaanderen.be/geolocation/>
1717

1818
## Install
1919

0 commit comments

Comments
 (0)