DenisCarriere / geocoder

:earth_asia: Python Geocoder
http://geocoder.readthedocs.org
MIT License
1.62k stars 286 forks source link

Yahoo API does not work #444

Open argyili opened 3 years ago

argyili commented 3 years ago

I just run the demo code for testing the API. g = geocoder.yahoo('San Francisco, CA') The directed URL is like https://sgws2.maps.yahoo.com/FindLocation?q=San+Francisco%2C+CA&flags=J&locale=en-CA

Here is the response from that address, it sends error messages.

<ResultSet xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" version="2.0" xml:lang="en-US">
<Error>5</Error>
<ErrorMessage>Fatal Error - Missing or Invalid Input</ErrorMessage>
<Locale>en-US</Locale>
<Found>0</Found>
<InputQuery>null</InputQuery>
<Quality>0</Quality>
</ResultSet>

I think the error reason is from the Yahoo provider source, but I am not sure.

Kayden-lolasery commented 2 years ago

311 Hi team please assist