88[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square )] ( LICENSE )
99
1010This is the Yandex provider from the PHP Geocoder. This is a ** READ ONLY** repository. See the
11- [ main repo] ( https://github.com/geocoder-php/Geocoder ) for information and documentation.
11+ [ main repo] ( https://github.com/geocoder-php/Geocoder ) for information and documentation.
1212
1313### Install
1414
@@ -21,7 +21,7 @@ composer require geocoder-php/yandex-provider
2121The API now requires an API key. [ See here for more information] ( https://yandex.ru/blog/mapsapi/novye-pravila-dostupa-k-api-kart?from=tech_pp ) .
2222
2323``` php
24- $httpClient = new \Http\Adapter\Guzzle6 \Client();
24+ $httpClient = new \GuzzleHttp \Client();
2525$provider = new \Geocoder\Provider\Yandex\Yandex($httpClient, null, '<your-api-key >);
2626
2727$result = $geocoder->geocodeQuery(GeocodeQuery::create('ул.Ленина, 19, Минск 220030, Республика Беларусь'));
@@ -31,12 +31,12 @@ $result = $geocoder->reverseQuery(ReverseQuery::fromCoordinates(...));
3131### Note
3232
3333The default language-locale is ` ru-RU ` , you can choose between ` uk-UA ` , ` be-BY ` ,
34- ` en-US ` , ` en-BR ` and ` tr-TR ` .
34+ ` en-US ` , ` en-BR ` and ` tr-TR ` .
3535
3636It's possible to precise the toponym to get more accurate result for reverse geocoding:
3737` house ` , ` street ` , ` metro ` , ` district ` and ` locality ` .
3838
3939### Contribute
4040
41- Contributions are very welcome! Send a pull request to the [ main repository] ( https://github.com/geocoder-php/Geocoder ) or
41+ Contributions are very welcome! Send a pull request to the [ main repository] ( https://github.com/geocoder-php/Geocoder ) or
4242report any issues you find on the [ issue tracker] ( https://github.com/geocoder-php/Geocoder/issues ) .
0 commit comments