Yandex fix. No more "found" param in meta section#1448
Yandex fix. No more "found" param in meta section#1448alexreisner merged 2 commits intoalexreisner:masterfrom
Conversation
|
Thanks for this. Do you have a link to the Yandex documentation for this new format? |
|
Sorry, no documentation. It’s just got broken a couple of hours before. And I’ve made a hot fix. Actually it’s pretty old API, it should not change. Here is the link to the doc: |
|
Thanks. In that case, would it be possible to update the sample JSON in |
|
It looks like it was a bug at Yandex, now "found" came back in response. But I would propose to accept my pull request — in any case, at least it wont get worse as the condition was not necessary. |
|
Yes, I agree with that. Do you want to also remove the line above the one you changed, where |
|
Sure! Sorry didn't notice in a hurry. Can you please smash 2 commits while merging? |
|
No problem. Thanks! |
Yandex response has changed.
There was param named "found" before. But it was removed. So any geocode request returned empty array.
Actually i consider the condition as redundant.