Skip to content

Commit

Permalink
Fix service URL (#10)
Browse files Browse the repository at this point in the history
* Update Geopunt.php

* Update cached responses

* Update README.md

* Update README.md
  • Loading branch information
jbelien authored Jul 8, 2023
1 parent 0c28368 commit 4219469
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Geopunt.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ final class Geopunt extends AbstractHttpProvider implements Provider
/**
* @var string
*/
const GEOCODE_ENDPOINT_URL = 'https://loc.geopunt.be/v4/Location?q=%s&c=%d';
const GEOCODE_ENDPOINT_URL = 'https://geo.api.vlaanderen.be/geolocation/v4/Location?q=%s&c=%d';

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

/**
* @param ClientInterface $client an HTTP adapter
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
This is the "Geopunt" provider for the [Geocoder PHP](https://github.com/geocoder-php/Geocoder).

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

## Install

Expand Down

0 comments on commit 4219469

Please sign in to comment.