From 6b6a2f73e32c4cd7401f220c3fb8ba92fd2f98a1 Mon Sep 17 00:00:00 2001 From: Fedor Buzinov Date: Tue, 15 Oct 2019 11:34:04 +0300 Subject: [PATCH] Added apikey in params for Yandex Geocode Maps Added apikey in params for Yandex Geocode Maps --- geocoder/yandex.py | 1 + 1 file changed, 1 insertion(+) diff --git a/geocoder/yandex.py b/geocoder/yandex.py index c55e15fd..811ba3f4 100644 --- a/geocoder/yandex.py +++ b/geocoder/yandex.py @@ -153,6 +153,7 @@ def _build_params(self, location, provider_key, **kwargs): 'kind': kwargs.get('kind', ''), 'format': 'json', 'results': kwargs.get('maxRows', 1), + 'apikey': kwargs.get('apikey', '') } def _adapt_results(self, json_response):