willdurand/Geocoder — pull request #112 by toin0u (2012-10-24 12:34:02+00:00)
Title: New provider: IGN OpenLS

Hi William,

I added IGNOpenLSProvider using this [API](http://api.ign.fr/tech-docs-js/developpeur/search.html) from this [ticket](https://github.com/willdurand/Geocoder/issues/101).

To run tests, we need a developer api key. The type should be `Web` and because it's a developper api key, it's actually not possible to change de `referer`. And of course OpenLS should be checked.

![screenshot](http://i.imgur.com/JXIq1.png)
(Sorry it's in french...)

This means we need to add:

`curl_setopt($c, CURLOPT_REFERER, 'localhost');`

into HttpAdapter/CurlHttpAdapter.php.

With a professional api key, we don't need the change this HttpAdapter.

Hope it's ok.
Regards